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 automated testing #15

Open
sliverfishes opened this issue Jul 16, 2016 · 2 comments
Open

basic automated testing #15

sliverfishes opened this issue Jul 16, 2016 · 2 comments
Assignees

Comments

@sliverfishes
Copy link
Owner

Add a function that simulates some boards for every card. Probably include a few other random cards and print the generated board before sim'ing it so if it crashes then we know what it was. This should be enough to catch most null reference crashes.

@sliverfishes sliverfishes self-assigned this Oct 26, 2016
@sliverfishes
Copy link
Owner Author

create a file named crashtest.txt and run silver.exe to test each card with some random other ones

@sliverfishes
Copy link
Owner Author

This isn't good enough, null references keep getting through.

Maybe make a way to sim every txt file in a directory full of test.txt boards but ignore most of the settings since crashes should occur without much sim'ing. This wouldn't catch new ones though.

Maybe add more minions of varying types and quanities to each side of the crashtest boards. This would make it a little more realistic.

Maybe run it more times...

@sliverfishes sliverfishes reopened this Oct 29, 2016
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

1 participant