Skip to content

Commit 1b82fd1

Browse files
committed
Add assets
1 parent 2699da1 commit 1b82fd1

File tree

5 files changed

+25
-6
lines changed

5 files changed

+25
-6
lines changed
20 KB
Loading

module5-testing/r3-types-of-tests/README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,15 @@ an automated test for this, screenshot testing is a viable option.
4343

4444
## Smoke tests
4545
**Smoke tests** are a type of end-to-end test that tests the most basic cases.
46-
For example, if you have an a todo list app, this app may simple login users and
47-
try to create a list, even if your app has much more functionality. However, the
48-
name comes from the idea that, if you have some type of hardware and there is
49-
smoke, you should probably immediately shut it off without testing anything --
50-
it hasn't even passed the basics.
51-
simply
46+
For example, if you have a todo list app, this app may simply login users and
47+
try to create a list, even if your app has much more functionality than this
48+
straightforward flow.
49+
50+
However, the name "smoke test" comes from the idea that, if you have some type
51+
of hardware and there is smoke, you should probably immediately shut it off
52+
without testing anything -- it hasn't even passed the basics. Smoke tests often
53+
run before releasing a product as a "sanity test."
54+
5255
## Frequency
5356
In the ideal testing environment, unit tests . As tests increase in granularity
5457
-- that is, they include larger pieces of your system -- you want these tests to
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Testing Libraries in JavaScript
2+
There are a number of testing libraries in JavaScript. The differences between them are not major. Similar to many other things that you
3+
will learn, if you know one of them, you will understand the general concepts of
4+
the others.
5+
6+
Feel free to explore some of the tutorials below.
7+
* [Jest](https://jestjs.io/docs/getting-started)
8+
* [Mocha](https://mochajs.org/#getting-started)
9+
* [Jasmine](https://jasmine.github.io/pages/getting_started.html)
10+
* [Cypress](https://www.cypress.io/): focus on end-to-end testing
11+
12+
Again: most of the concepts you will learn are agnostic to the framework being
13+
used. For example, with the properties of good tests that we discussed, it does
14+
not matter if you are using Jest, Mocha, Jasmine, or if you are not even using
15+
JavaScript. Try not to focus too much on learning a specific framework but
16+
instead understanding how it executes the ideas of testing.

module5-testing/r4-test-coverage/README.md

Whitespace-only changes.

module5-testing/r5-testing-lab/README.md

Whitespace-only changes.

0 commit comments

Comments
 (0)