Skip to content

Commit 1c5d535

Browse files
committed
Remove some contents and update the license
1 parent 7d37ecc commit 1c5d535

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+27
-28406
lines changed

.all-contributorsrc

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,6 @@
1717
"eventOrganizing",
1818
"ideas"
1919
]
20-
},
21-
{
22-
"login": "kandros",
23-
"name": "Jaga Santagostino",
24-
"avatar_url": "https://avatars0.githubusercontent.com/u/4562878?v=4",
25-
"profile": "http://jagascript.com",
26-
"contributions": [
27-
"business",
28-
"content",
29-
"example",
30-
"eventOrganizing",
31-
"ideas"
32-
]
3320
}
3421
],
3522
"contributorsPerLine": 7,

.bookignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ __tests__
77
tests
88
cypress
99
cypress.json
10-
jest-testing-fundamentals
11-
react-cinema-app
12-
react-testing-fundamentals
1310
realworld
1411
renovate.json
1512
utils

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules
22
_book
3-
cypress/videos
3+
cypress/videos
4+
yarn.lock
5+
package-lock.json

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
Copyright (c) 2020 Stefano Magni
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to deal
6+
in the Software without restriction, including without limitation the rights
7+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8+
copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20+
SOFTWARE.

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# ReactJSDay 2019 Testing Course
22

3-
[![GPL 3.0 License][license-badge]][license]
43
[![RealWorld Frontend](https://img.shields.io/badge/realworld-frontend-%23783578.svg)](http://realworld.io)
54
[![RealWorld Backend](https://img.shields.io/badge/realworld-backend-%23783578.svg)](http://realworld.io)
65

@@ -11,7 +10,7 @@
1110

1211
![ReactJSDay 2019 Testing Course](assets/images/reactjsday-course.png)
1312

14-
This is the [reference repository](https://github.com/NoriSte/educative-cypress-course) with all the contents and the examples of the "[React Testing 101: component, integration, and end-to-end testing](https://2019.reactjsday.it/workshops/react-testing-101.html)" course for the [ReactJSDay 2019](https://2019.reactjsday.it/) conference.
13+
This is the [reference repository](https://github.com/NoriSte/educative-cypress-course) with all the contents and the examples of the "[React Testing 101: component, integration, and end-to-end testing](https://2019.reactjsday.it/workshops/react-testing-101.html)" course for the [ReactJSDay 2019](https://2019.reactjsday.it/) conference, adapted for [Educative](https://www.educative.io/).
1514

1615
The repository aims to be consumed through [the compiled GitBook](https://noriste.github.io/educative-cypress-course/). The course starts from the peak of the testing pyramid and goes down instead of following the "standard" testing path, you can [read here](https://noriste.github.io/educative-cypress-course/book/top-to-bottom.html) the reason why. [some introductory slides](https://slides.com/noriste/educative-cypress-course) are also included but they're only useful for the teacher, they're a summary of the content presented before the coding session.
1716

@@ -23,16 +22,6 @@ Additional requisites to run the project and the tests on your local machine:
2322
- [MongoDB](https://docs.mongodb.com/manual/installation/#tutorials)
2423
- [Docker](https://docs.docker.com/install/)
2524

26-
## License
27-
28-
This material is available for private, non-commercial use under the
29-
[GPL version 3](http://www.gnu.org/licenses/gpl-3.0-standalone.html). If you
30-
would like to use this material to conduct your own workshop, please contact me
31-
32-
33-
[license]: https://github.com/NoriSte/educative-cypress-course/blob/master/README.md#license
34-
[license-badge]: https://img.shields.io/badge/license-GPL%203.0%20License-blue.svg?style=flat-square
35-
3625
## Contributors ✨
3726

3827
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -42,7 +31,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
4231
<table>
4332
<tr>
4433
<td align="center"><a href="https://twitter.com/NoriSte"><img src="https://avatars0.githubusercontent.com/u/173663?v=4" width="100px;" alt="Stefano Magni"/><br /><sub><b>Stefano Magni</b></sub></a><br /><a href="#business-NoriSte" title="Business development">💼</a> <a href="#content-NoriSte" title="Content">🖋</a> <a href="#example-NoriSte" title="Examples">💡</a> <a href="#eventOrganizing-NoriSte" title="Event Organizing">📋</a> <a href="#ideas-NoriSte" title="Ideas, Planning, & Feedback">🤔</a></td>
45-
<td align="center"><a href="http://jagascript.com"><img src="https://avatars0.githubusercontent.com/u/4562878?v=4" width="100px;" alt="Jaga Santagostino"/><br /><sub><b>Jaga Santagostino</b></sub></a><br /><a href="#business-kandros" title="Business development">💼</a> <a href="#content-kandros" title="Content">🖋</a> <a href="#example-kandros" title="Examples">💡</a> <a href="#eventOrganizing-kandros" title="Event Organizing">📋</a> <a href="#ideas-kandros" title="Ideas, Planning, & Feedback">🤔</a></td>
4634
</tr>
4735
</table>
4836

SUMMARY.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -56,47 +56,6 @@
5656
- [Cypress vs other tools](book/cypress-vs-other-tools.md)
5757
- [Why is E2E testing not enough?](book/why-is-e2e-testing-not-enough.md)
5858
- ***
59-
- Jest fundamentals
60-
61-
- [What You will learn](book/jest-101/index.md)
62-
- [What is Jest](book/jest-101/what-is-jest.md)
63-
- [Setup](book/jest-101/setup.md)
64-
- [Running Jest](book/jest-101/running-jest.md)
65-
- [What is a Test Case](book/jest-101/test-case.md)
66-
- [Watch-mode](book/jest-101/watch-mode.md)
67-
- [Valid file test names](book/jest-101/test-filenames.md)
68-
- [Add editor autocompletion](book/jest-101/editor-autocompletion.md)
69-
- [Built-in Matchers](book/jest-101/built-in-matchers.md)
70-
- [Custom Matchers](book/jest-101/custom-matchers.md)
71-
- [Testing async code](book/jest-101/testing-async-code.md)
72-
- [jsdom](book/jest-101/jsdom.md)
73-
- [Jest lifecycle](book/jest-101/jest-lifecycle.md)
74-
- [Mock functions](book/jest-101/mock-function.md)
75-
- [Mocking a module](book/jest-101/mock-modules.md)
76-
- [The expect object](book/jest-101/expect-object.md)
77-
- [Timers](book/jest-101/timers.md)
78-
79-
- ***
80-
- [The many ways to test React](book/many-ways-to-test-react.md)
81-
- ***
82-
- Intro to React testing
83-
- [What you will learn](book/intro-to-react-testing/index.md)
84-
- [Setup](book/intro-to-react-testing/setup.md)
85-
- [react-dom-test-utils](book/intro-to-react-testing/react-dom-test-utils.md)
86-
- [Hooks and act](book/intro-to-react-testing/hooks-and-act.md)
87-
- [jest-dom](book/intro-to-react-testing/jest-dom.md)
88-
- ***
89-
- React Testing Library
90-
- [What You will learn](book/react-testing-library/index.md)
91-
- [What is React Testing Library](book/react-testing-library/what.md)
92-
- [Why React Testing Library](book/react-testing-library/why-react-testing-library.md)
93-
- [Setup React Testing Library](book/react-testing-library/setup.md)
94-
- [Rendering using React Testing Library](book/react-testing-library/rendering.md)
95-
- [Using DOM testing library](book/react-testing-library/dom-testing-library.md)
96-
- [Implementing and Testing new features](book/react-testing-library/custom-input.md)
97-
- [Dealing with Context Providers](book/react-testing-library/context.md)
98-
- [Testing components using Redux](book/react-testing-library/redux.md)
99-
- ***
10059
- [Resources](book/resources.md)
10160
- ***
10261
- [About this book](book/about-the-book.md)

book/about-the-book.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,6 @@ To watch them running on your local machine:
3131
- you must launch the RealWorld project with `npm run realworld:start`
3232
- run `npm run cy:open` and launch your tests of choice
3333

34-
### Jest example tests
35-
36-
To watch them running on your local machine:
37-
38-
- install the project dependencies with `npm install`
39-
- launch `npm run test:unit`
40-
- if you want to keep Jest opened you can launch `npm run test:unit:watch` and navigate the various tests leveraging the [jest-watch-typeahead](https://github.com/jest-community/jest-watch-typeahead) plugin
41-
42-
<!-- TODO: add the part of the demo-app -->
43-
4434
### File system
4535

4636
```

book/about-us.md

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# About us
22

3-
[Stefano Magni](#stefano-magni) and [Jaga Santagostino](#jaga-santagostino)
3+
[Stefano Magni](#stefano-magni)
44

55
<a href="#stefano-magni"><img src="../assets/images/stefano-magni.jpg" alt="Stefano Magni" style="max-width: 40%;"/></a>
6-
<a href="#jaga-santagostino"><img src="../assets/images/jaga-santagostino.jpg" alt="Jaga Santagostino" style="max-width: 40%;"/></a>
6+
77

88
### Stefano Magni
99

@@ -16,15 +16,3 @@ Stefano is working on a big [UI Testing Best Practices](https://github.com/NoriS
1616
He works for [Conio](https://conio.com), a bitcoin startup based in Milan.
1717

1818
[GitHub](https://github.com/NoriSte) - [LinkedIn](https://www.linkedin.com/in/noriste/) - [Twitter](https://twitter.com/NoriSte)
19-
20-
### Jaga Santagostino
21-
22-
Jaga loves automation and anything that can make a developer's life easier and more enjoyable, from building CLIs to deploy on k8s to Browser Extensions and everything in between.
23-
24-
He lives by "sharing is caring” motto.
25-
26-
He's the organizer of [ReactJS meetup in Milan](https://www.meetup.com/it-IT/React-JS-Milano/).
27-
28-
He works as an independent consultant, focused on TypeScript, GraphQL and React ecosystems.
29-
30-
[GitHub](https://github.com/kandros) - [LinkedIn](https://www.linkedin.com/in/jagasantagostino/) - [Twitter](https://twitter.com/kandros5591)

book/course-description.md

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ During the day, we will see all the useful tests for a web-app developed with Re
2525
- How to write effective end-to-end tests (E2E)
2626
- How to integrate tests into development and Continuous Integration pipelines
2727

28-
We are going to use **Jest, React Testing Library, Cypress** and all their useful plugins to increase our daily productivity and test reliability.
2928
We will alternate theoretical explanations with live coding sessions, at the end of the course the source code of all the exercises, the material used for explanations, and other in-depth materials will be made available.
3029

3130
#### Topics:
@@ -52,41 +51,6 @@ We will alternate theoretical explanations with live coding sessions, at the end
5251
- [Custom commands](signup-custom-command.md)
5352
- [Visual Regression Testing for the whole web app](visual-regression-testing.md)
5453
- [Continuous Integration](continuous-integration.md)
55-
- Jest fundamentals
56-
- [What You will learn](jest-101/index.md)
57-
- [What is Jest](jest-101/what-is-jest.md)
58-
- [Setup](jest-101/setup.md)
59-
- [Running Jest](jest-101/running-jest.md)
60-
- [What is a Test Case](jest-101/test-case.md)
61-
- [Watch-mode](jest-101/watch-mode.md)
62-
- [Valid file test names](jest-101/test-filenames.md)
63-
- [Add Editor autocompletion](jest-101/editor-autocompletion.md)
64-
- [Built-in Matchers](jest-101/built-in-matchers.md)
65-
- [Custom Matchers](jest-101/custom-matchers.md)
66-
- [Testing Async Code](jest-101/testing-async-code.md)
67-
- [jsdom](jest-101/jsdom.md)
68-
- [Jest Lifecycle](jest-101/jest-lifecycle.md)
69-
- [Mock Functions](jest-101/mock-function.md)
70-
- [Mocking a module](jest-101/mock-modules.md)
71-
- [The Expect object](jest-101/expect-object.md)
72-
- [Timers](jest-101/timers.md)
73-
- [The many wait to test React](many-ways-to-test-react.md)
74-
- Intro to React testing
75-
- [What You will learn](intro-to-react-testing/index.md)
76-
- [Setup](intro-to-react-testing/setup.md)
77-
- [react-dom-test-utils](intro-to-react-testing/react-dom-test-utils.md)
78-
- [Hooks and act](intro-to-react-testing/hooks-and-act.md)
79-
- [jest-dom](intro-to-react-testing/jest-dom.md)
80-
- React Testing Library
81-
- [What You will learn](react-testing-library/index.md)
82-
- [What is React Testing Library](react-testing-library/what.md)
83-
- [Why React Testing Library](react-testing-library/why-react-testing-library.md)
84-
- [Setup React Testing Library](react-testing-library/setup.md)
85-
- [Rendering using React Testing Library](react-testing-library/rendering.md)
86-
- [Using DOM testing library](react-testing-library/dom-testing-library.md)
87-
- [Implementing and Testing new features](react-testing-library/custom-input.md)
88-
- [Dealing with Context Providers](react-testing-library/context.md)
89-
- [Testing components using Redux](react-testing-library/redux.md)
9054

9155
#### Attendees
9256

0 commit comments

Comments
 (0)