- Sep 2023
-
timdeschryver.dev timdeschryver.dev
-
blog.logrocket.com blog.logrocket.com
Tags
Annotators
URL
-
- Jun 2023
- Sep 2021
-
testing-library.com testing-library.com
-
though we recommend Jest as our preference, the library works with any framework
-
- Jun 2021
-
gitlab.com gitlab.com
-
In Jest we are currently running all tests in JSDOM and not in a browser. This implies that certain scenarios cannot be tested or behave differently than in the real application.
-
-
gitlab.com gitlab.com
-
Move it to Jest. This potentially requires extending our jsdom mocked browser environment. Move it to RSpec. This will probably require us changing our perspective to a use-case oriented one. We just want to make sure we have the same value coverage.
-
-
docs.gitlab.com docs.gitlab.com
-
Running yarn jest-debug runs Jest in debug mode, allowing you to debug/inspect
-
Differences to Karma
-
- Dec 2019
-
master.neutrinojs.org master.neutrinojs.org
-
Various test runners support using compiled webpack code to drive tests, but may be difficult to integrate with webpack, and Neutrino helps alleviate this
-
-
- Nov 2019
-
github.com github.com
-
Tests implementation details a bit (child component props received), but pretty good other than that.
https://www.robinwieruch.de/react-testing-tutorial, for example, says that is reasonable to do:
an integration test could verify that all necessary props are passed through from the tested component to a specific child component.
-
-
github.com github.com
-
jestjs.io jestjs.io
-
github.com github.com
-
Although this page only mentions using with Jest, you can use it without Jest: https://testing-library.com/docs/react-testing-library/setup#using-without-jest
-
-
jestjs.io jestjs.io
-
-
medium.com medium.com
-
The amount of dev time it saves is uncanny. Like, what used to take 3 hours to write now takes like 30 minutes. No joke.
-
-
- Dec 2018
-
-
In this setup, it is common to test app.js and want to either not call the actual math.js functions, or spy them to make sure they’re called as expected.
key point about what spies are
-
- Nov 2018
-
www.xfive.co www.xfive.co
-
Mocking localStorage is optional, but without mocking getComputedStyle your test won’t run, as Angular checks in which browser it executes. We need to fake it.
key point
Tags
Annotators
URL
-
-
blog.angularindepth.com blog.angularindepth.com
-
Let’s take a couple of steps back, and ask ourselves if we want to test our library and our application at the same time? I don’t think this is what we want, right? We rather want to:test our librarybuild our library; when all the library tests are successfultest our application; when the library is built
Key point
-
- Sep 2018
-
www.valentinog.com www.valentinog.com
Tags
Annotators
URL
-
- May 2015
-
caseyboyle.net caseyboyle.net
-
n the head and the body, in the way of listening
"Commit this to memory. Head is body." (Infinite Jest, p. 159)
Tags
Annotators
URL
-
- Oct 2013
-
rhetoric.eserver.org rhetoric.eserver.org
-
As to jests. These are supposed to be of some service in controversy. Gorgias said that you should kill your opponents' earnestness with jesting and their jesting with earnestness; in which he was right. Jests have been classified in the Poetics. Some are becoming to a gentleman, others are not; see that you choose such as become you.
Tags
Annotators
URL
-
-
rhetoric.eserver.org rhetoric.eserver.org
-
Gorgias said that you should kill your opponents' earnestness with jesting and their jesting with earnestness;
This will only work, though, if your audience looks to you as some sort of authority figure - if you don't seem to know what you're talking about, I think that doing what Gorgias suggests would only make you look foolish.
-