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

add TDD integration tests + GHA #31

Open
gmanchon opened this issue Oct 28, 2022 · 0 comments
Open

add TDD integration tests + GHA #31

gmanchon opened this issue Oct 28, 2022 · 0 comments
Milestone

Comments

@gmanchon
Copy link
Collaborator

gmanchon commented Oct 28, 2022

the goal is to make sure that whenever we merge some PR during the refacto it does not affect the correct functionality of challengify in production

benefits of TDD :

  • forces to define the features developed on because they are tested
  • forces to formalise the code interface
  • super cool safety net to put in production

challengify

integration test : challengify_ignore files are taken into account

integration test : delimiters are correctly handled per language

integration test : challenge file and directory structure gets generated at the correct location

integration test : file deletion is handled

challengify iterate

integration test : challenge versions are generated at the correct location

integration test : file presence into a challenge version is handled correctly through challengify_iterate.yaml with to / for / from

integration test : ability to provide challenge version ranges for the presence of a file << specification needed

integration test : handle custom files like README_api.md across the challenge versions

integration test : handle presence of block of code according to only to / for / from version delimiters # ONLY_FROM_api_BEGIN

integration test : handle block of code challengification according to only to / for / from version delimiters # CHA_ONLY_FROM_api_BEGIN

@gmanchon gmanchon added this to the tools refacto milestone Oct 28, 2022
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