Updates 09.27.2006
The unit tests are now complete. A unit test for the content assistance processor available from the tcl editor has been finished. Expect the refactoring process to begin over the next week.
The unit tests are now complete. A unit test for the content assistance processor available from the tcl editor has been finished. Expect the refactoring process to begin over the next week.
Added TUnitEditorTest to the test suite. Currently the unit test only tests auto indentation, but will soon add a test for content assistance. Expect an update in the next few days.
An introduction has been added to my paper. The pdf file though is not complete, and the last paragraph of the Introduction contains bad section numbers. This is due to the fact that the paper is being written using Latex and those sections have not been created yet.
A new subdirectory has been created to house the paper that is associated with the TUnit project. This will allow for versioning of the paper now as well. Look for more TUnit unit tests later this week.
This week I plan on spending more time on the paper aspect of the project. As a result, there will probably be a delay in unit tests for the TUnit Editor. However, the unit tests are still on my schedule and there is a good chance that an update will still occur. I will be sure to keep all my fans posted. Until later. See Ya!
Added TUnitNamespaceViewTest. This test actually caught an error where a few files were not closed after being read from. This is exactly the reason I wanted to create unit tests. The last unit test to create now is the Editor unit test. Expect further updates over the weekend.
Added a unit test to test t-unit test script execution. Next up is a unit test for Namespace Explorer. Not much else to report though.
Updated code so that resource files are compared to on a line by line basis. Now the tests can be run completely automated with no need for manually updating files.
The unit tests can now be run on all platforms assuming /temp/tunitprojecttest2 exists and is a writable directory. For this week, I am hoping to develop of unit tests for the tclsh and results dialog. Should be fairly simple to do. Expect further updates during the week.
The Robot API is now being used to fill in all the user input within the unit tests. However, this resulted in the test only being able to run on a Window's machine with C:\Temp\TUnitProjectTest2 directory available. Also, the Robot takes control of the computer, so do not try and run anything else while it is working. This will cause you problems.
TUnitProjectTest has been completed as well as two new unit tests: TUnitPackageTest and TUnitFileTest. All four tests that exist are passing at this time. This also completes the wizard unit test stage. However, the wizard unit tests are requiring user input. My advisor on this project has suggested looking at the Robot API in order to fully automate the tests. That will likely happen sometime this weekend.
Added TUnitProjectTest to test the "New Tcl Project" wizard. The testcase is not complete, but passes for right now. Two more cases need to be added to be fully functional. This testcase will also help in the creation of the other two wizard-related unit tests. More to come tomorrow hopefully.
Logging capabilities have been added to the TUnit plugin. Whenever the perspective is changed or one of the TUnit-related wizards is used, the log is updated. Also, any exceptions that are thrown are also logged.
In order to be compliant with IBM's Ready for Rational Software (RFRS) certification program, logging capabilities need to be added to the plugin. RFRS ensures that high-quality add-ons to Eclipse and the IBM Software Development Platform are being developed.
The source code for the TUnit plugin has been put into Google's Subversion repository. The source can be viewed from the TUnit Hompeage
TUnit is a plugin for the Eclipse IDE. TUnit makes use of the t-unit package that was developed for the tcl language. The t-unit package provides an automated unit testing framework modeled after the "JUnit" Java test suite. All calls are "asserts"; such as "assertTrue" checks for result boolean TRUE.