by justahuman74 · 3y ago · 0 comments
Say you have some code that needs some changes but at a later time, you can put a comment above it (or really anywhere)
// JIRA: MYPROJ-123
When the glue sees that comment disappear from the codebase, it can mark the ticket as done.
The thing I'd like to see is that ticket "Write the login page" is automatically marked complete when the codebase contains a working login page, there are unit and integration tests for the login page, and maybe (depending on how you do your documentation) a set of comments on the API methods involved describing their use in the login process. All without those code elements ever needing to know the ticket exists.
The other problem is that you still need to track when all the tests for the feature have been written.
edit: actually, thinking about it, you could do plain TDD and track the tests as the tickets. Write all your tests for the project first, then track how many are passing as the progress measure.
The project management system is the view.
The model shouldn't have to change to accomodate the view.