galaxyproject / galaxy

Data intensive science for everyone.
https://galaxyproject.org
Other
1.38k stars 998 forks source link

Add documentation on writing tests #11051

Open jdavcs opened 3 years ago

jdavcs commented 3 years ago

We need documentation on how to write tests (simple walk-throughs with basic examples).

Documentation should include:

After (most of) this documentation has been posted, I think we can try to require writing accompanying tests for (most?) PRs (like in SQLAlchemy, CPython and many, many others, I'm sure). Or, at least, change the wording of this line in contributing.md to make it "less optional".

Nerdinacan commented 3 years ago

If you could please add:

How to configure an IDE to set a breakpoint in a selenium test so you can like..... do something useful with that test when a failure is discovered.