Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Basic tests working for the app with CI #3

Closed
5 tasks done
rufuspollock opened this issue Aug 4, 2020 · 2 comments
Closed
5 tasks done

Basic tests working for the app with CI #3

rufuspollock opened this issue Aug 4, 2020 · 2 comments
Assignees

Comments

@rufuspollock
Copy link
Member

rufuspollock commented Aug 4, 2020

Set up tests with Jest in the React application to test the upload flow. We use Jest because it is now default for React and has nice documentation, support, and tutorials.

2 kinds of tests:

  • Component tests via jest
  • Integration tests (via cypress) - make not be needed for simple components ...

Acceptance

  • We have one or more tests of basic system
  • We have continuous integration with github actions i.e. tests are run on every push etc

Tasks

  • Have a basic test for your first component with jest
  • Instructions on how to run the tests in the developer section of README
  • Set up github actions for jest
@mariorodeghiero
Copy link
Contributor

FIXED. See the items below with screenshots.
@rufuspollock cypres will be for the future, right?

  • We have one or more tests of basic system
  • We have continuous integration with github actions i.e. tests are run on every push etc
  • add badge for github actions on README

Screenshot from 2020-08-05 21-16-55

Screenshot from 2020-08-05 21-37-24

@rufuspollock
Copy link
Member Author

Yes, I've moved integration tests to #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants