Grant094 / super-skill-pinball-digital

A digital version of the Super-Skill Pinball game by WizKids
https://pinball.grantoxer.com/
MIT License
0 stars 0 forks source link

have some unit tests #206

Closed Grant094 closed 7 months ago

Grant094 commented 8 months ago
Grant094 commented 8 months ago

asked https://stackoverflow.com/questions/77923574/how-can-i-test-specific-sequences-of-dice-rolls-in-a-react-app.

Grant094 commented 8 months ago

asked https://stackoverflow.com/questions/77923574/how-can-i-test-specific-sequences-of-dice-rolls-in-a-react-app.

this did not work out, but after additional research, I have realized I can test behavior of the app, but I need to write detailed and complex tests to simulate user inputs. this would essentially be the manual testing I've done where I prioritize a given capability and attempt to test it based on the dice rolls.

Grant094 commented 8 months ago

asked https://stackoverflow.com/questions/77923574/how-can-i-test-specific-sequences-of-dice-rolls-in-a-react-app.

this did not work out, but after additional research, I have realized I can test behavior of the app, but I need to write detailed and complex tests to simulate user inputs. this would essentially be the manual testing I've done where I prioritize a given capability and attempt to test it based on the dice rolls.

or, I can do one of the following:

Grant094 commented 7 months ago

all tasks involving alerts were moved to #219 since, according to https://www.reddit.com/r/reactjs/comments/tscxxg/comment/i2qzccl/?utm_source=share&utm_medium=web2x&context=3, alerts should not be used and are difficult to test anyway