Ticket #685 (assigned task)
Fix TDD flow in Padre Testing
| Reported by: | kthakore | Owned by: | azawawi |
|---|---|---|---|
| Priority: | critical | Milestone: | |
| Component: | plugins | Version: | 0.47 |
| Keywords: | Testing | Cc: |
Description
Current if a developer is doing Test Driven Development. They would try to do the following.
- Make a module
- Make a test that fails
- Click F5
- It will fail
- Hack and Click F5 again
Now this is broken because the
perl Build or make was never called so the new changes are not tested.
This causes the developer to go into cmd, build the module, and then test. This is not in the spirit of TDD and a major PITA.
To fix this I propose a new menu item in run which allows the developer to select a build method (dmake or perl Build) and have it run before any Test (single or complete) menu item.
Attachments
Change History
Changed 4 years ago by kthakore
- Attachment menu_item.diff added
Changed 4 years ago by kthakore
- Attachment TDD_tests.diff added
Runs perl Build test or make test, but needs windows fix to fine dmake, nmake so on
comment:1 Changed 14 months ago by azawawi
- Owner set to azawawi
- Priority changed from major to critical
- Status changed from new to assigned
- Component changed from editor to plugins
I agree we should give this a higher priority. We are lacking a lot in this part. I am moving this to a plugin soon. http://padre.perlide.org/trac/wiki/PadrePluginBuild

Adds the TDD test menu item. Does nothing now though.