You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
label.py and textfinder.py need to be refactored into a MVC framework. After refactoring, write some more tests so we can consider label to be stable. There are a couple of tests in test_pdsview.py that test the label but the label tests should be independent of pdsview (in the end there should be a test_label.py). Finally, with the label refactored and tested, create find next and previous buttons in the textfinder.py dialog. Spend some time before moving to MVC to think about how you would add this new feature and test it and you should discover how much of a nightmare that probably would be. After moving to MVC it won't necessarily be easier but should be more clear.
warningtimer.py is a pretty simple example on how the MVC should work.
The text was updated successfully, but these errors were encountered:
label.py and textfinder.py need to be refactored into a MVC framework. After refactoring, write some more tests so we can consider label to be stable. There are a couple of tests in test_pdsview.py that test the label but the label tests should be independent of pdsview (in the end there should be a test_label.py). Finally, with the label refactored and tested, create find next and previous buttons in the textfinder.py dialog. Spend some time before moving to MVC to think about how you would add this new feature and test it and you should discover how much of a nightmare that probably would be. After moving to MVC it won't necessarily be easier but should be more clear.
warningtimer.py is a pretty simple example on how the MVC should work.
The text was updated successfully, but these errors were encountered: