[🚀] Coding Challenge RSN (Refactoring Safety Net)
See original GitHub issue- Create an automated system to detect changes done inside
vuln-snippet
blocks that lead to inconsistency with associated fix option files, e.g. via diff. - Introduce an npm script and CI/CD step that perform this check and report/fail on findings
- An advanced option could be to automatically carry over code snippet changes (unless done in the actually vulnerable or ignored lines) into the fix files
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:23 (23 by maintainers)
Top Results From Across the Web
The refactoring safety net - IT informa AB
There are many good reasons why you should unit test your code, an important one is that if done right, they serve as...
Read more >Test First Then Refactor - Medium
Tests are the safety net that allow you to refactor with confidence. But what if your legacy code doesn't have any tests? Then...
Read more >The developer's refactoring safety net
The developer's refactoring safety net ... to prove their code works as they intended by providing a unit test with at least 80%...
Read more >5 coding exercises to practice refactoring Legacy Code
If you never did, picture them as small coding exercises. They are meant to be practiced again and again and again. The goal...
Read more >Red, Green, Refactor | Codecademy
The green phase is where you implement code to make your test pass. ... As I refactor sortArray() , I have the safety...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can i work on this?
I suppose the “OK” (or “PASSED” as it was before) just implied that the others somehow not okay… 🤣
… that and the green/red for added/removed lines also makes it look a bit more good vs. bad than we’d want it to.
I’ll see if I can make this more clear with different wording and coloring later today or tomorrow.