Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

specific test environment for codeforces features #34

Open
gabrielrussoc opened this issue Jan 21, 2018 · 5 comments
Open

specific test environment for codeforces features #34

gabrielrussoc opened this issue Jan 21, 2018 · 5 comments

Comments

@gabrielrussoc
Copy link
Member

it sounds a good idea to have a simple way to test if the rating changes are working as they should.

@victorsenam
Copy link
Member

This is not a specific test environment. It's just testing...
Create a fixture for some sample data that should be received by the API call and then you can properly test everything.

@gabrielrussoc
Copy link
Member Author

We have to refactor everything to test it properly. Right now I don't think there is a good way to automatically test it because of heavy coupling.

@victorsenam
Copy link
Member

We can try behaviour/acceptance testing only.
I believe it's a better idea to focus on refactoring so that easy testing becomes possible.
We should change this issue so that it is about testing this feature, instead of suggesting creating new test environments.

@gabrielrussoc
Copy link
Member Author

right now is not possible to test it without changing the code by hand

@victorsenam
Copy link
Member

@gabrielrussoc You can stub what you need to change. Check out the testing done for alerta.

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

No branches or pull requests

2 participants