neherlab / covid19_scenarios

Models of COVID-19 outbreak trajectories and hospital demand
https://covid19-scenarios.org
MIT License
1.36k stars 354 forks source link

Add tests #19

Open ivan-aksamentov opened 4 years ago

ivan-aksamentov commented 4 years ago

In order to perform refactoring and to add new features with more confidence, we need unit, integration and end-to-end tests for:

The infrastructure:

Any help is appreciated!

Joluma commented 4 years ago

@ivan-aksamentov did you already start implementing e2e with cypress? I can help with that.

ivan-aksamentov commented 4 years ago

@Joluma Hi Joël, I haven't started yet. But the e2e testing is probably one of the most valuable things to contribute.

It may be tricky, because many parts of the project are changing rapidly. For example, I have a huge Redux revamp coming soon(ish). We are in process of changing how some of the widgets behave. So the tests will have to be adjusted frequently.

Also, Plots might be somewhat hard to operate automatically. If you have app testability improvements in mind (for the app source code itself), it is very welcome too.

Feel free to try it out!

ivan-aksamentov commented 4 years ago

Some more thoughts on unit and integration tests:

Adding more tests and improving the app testability will ensure that we can expand the app's usability and add more interesting algorithmic features.

Contributions are desperately needed!

szonjajakab commented 4 years ago

I could do the CI building if its not taken.

owais-eng commented 4 years ago

how can i get the code of this projectSent from my Samsung Galaxy smartphone. -------- Original message --------From: szonjajakab notifications@github.com Date: 21/03/2020 2:55 pm (GMT+05:30) To: neherlab/covid19_scenarios covid19_scenarios@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [neherlab/covid19_scenarios] Add tests (#19) I could do the CI building if its not taken.

—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/neherlab/covid19_scenarios/issues/19#issuecomment-602018479", "url": "https://github.com/neherlab/covid19_scenarios/issues/19#issuecomment-602018479", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

davihans commented 4 years ago

Hi all,

My partner shijurodhaz and I are cs students who would like to help contribute to this project. Is the area most in need of tests still src/algorithms/, or is there another area we should focus on first?