ProgrammingWarmups / www.warmups.dev

:rocket: Warmups, for Developers
MIT License
3 stars 4 forks source link

Feature/add variables warmup #29

Open mariakimheinert opened 3 years ago

mariakimheinert commented 3 years ago

This PR adds a new warmup, titled What are Variables?. It also adds a new __stdout__ global variable to the test files, which contains everything that was printed to STDOUT during the execution of the user's code. This allows assertions about the output, which can be useful when the user should be allowed to change variable names (as in some of these exercises). While building this feature, I moved the test template from a field in meta.json into a separate file, exercises/test_template.py, which will make updates to the testing process easier in the future.

netlify[bot] commented 3 years ago

:heavy_check_mark: Deploy Preview for warmups ready!

:hammer: Explore the source changes: bbac1a7c916c128d6fb1d15789f53b1348fdcafa

:mag: Inspect the deploy log: https://app.netlify.com/sites/warmups/deploys/60d9237d0f1ed80007eea7f4

:sunglasses: Browse the preview: https://deploy-preview-29--warmups.netlify.app