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

Playing around with end-to-end testing #503

Merged
merged 25 commits into from
Dec 9, 2018
Merged

Playing around with end-to-end testing #503

merged 25 commits into from
Dec 9, 2018

Conversation

dtinth
Copy link
Member

@dtinth dtinth commented Oct 14, 2018

This PR:

  • Implements a TEST MODE which allows the game to be paused at a prespecified point. This is to facilitate synchronization with test executor.
  • Create a simple test that runs the game and plays through a song and verifies the score.

Tasks:

  • Prototype an E2E test.

  • Set up CI to run it (maybe using CircleCI workflow to copy the generated dist).

@codecov-io
Copy link

codecov-io commented Oct 14, 2018

Codecov Report

Merging #503 into master will decrease coverage by 0.27%.
The diff coverage is 9.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
- Coverage   83.52%   83.25%   -0.28%     
==========================================
  Files         171      172       +1     
  Lines        5403     5423      +20     
  Branches        1        1              
==========================================
+ Hits         4513     4515       +2     
- Misses        890      908      +18
Impacted Files Coverage Δ
src/online/scoreboard-system/OnlineService.js 1.53% <0%> (-0.05%) ⬇️
src/devtools/BemuseTestMode.js 11.11% <11.11%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae2b6f8...5c6241e. Read the comment docs.

e2e/tests/Gameplay-test.js Outdated Show resolved Hide resolved
@dtinth dtinth merged commit ca231f5 into master Dec 9, 2018
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

Successfully merging this pull request may close these issues.

2 participants