Monday, November 26, 2012

Status report: 2012-11-19 - 2012-11-25

  • Got kyua list to work with the independent testers and pass all tests!
  • Started cleaning up the testers code so that it can be published.
  • Initial work to get kyua test to use the testers too. Most tests pass, but there are still some rough corners (obviously, as the implementation is still full of to-do entries).

Monday, November 12, 2012

Status report: 2012-11-05 - 2012-11-11

  • Completed preliminary implementation of the ATF tester.
  • Wrote (very) basic integration tests for the plain and ATF testers.
  • Changed Kyua to use the external testers for test case listings. Working for the most part, but still some rough edges left that will probably require a bunch of work.
The code for the testers is starting to be pretty decent, so I should be publishing these as a new module in the Git repository soon. Keeping so much unsubmitted code in my machine is not a smart move, as Hurricane Sandy showed recently... Stay tuned!

Monday, November 5, 2012

Status report: 2012-10-29 - 2012-11-04

This last week has been eclipsed by hurricane Sandy. Even though I could not go to work, I haven't been able to put much time in Kyua either. That said:
  • Implemented the parsing of ATF test case lists in the ATF tester.
  • Implemented the parsing of ATF results in the ATF tester.
  • Tweaked my Emacs configuration files to highlight test errors in the compilation buffer. Jumping to test failures right from there is cool. (My idea of providing a "kyua-mode" may not be so difficult after all...)
The independent testers are now to a point where integration with the main Kyua command line can start — yes, they are still woefully incompletely, but seeing the results of this last month of work would be cool. The problem is... I just found out that my laptop does not have a copy of that work: all the experimental code is sitting at my still-powerless home in my desktop computer... gotta grab it soon to recover the files!

Monday, October 22, 2012

Status report: 2012-10-15 - 2012-10-21

  • Finished porting the work directory cleanup logic to C so that it can be used by the independent testers.
  • Moved the independent tester's code to a separate package. This is still a proof of concept, and it's easier for it to be developed this way. I'm not yet sure whether these will end up being part of the main Kyua package or not.
  • Spent quite a bit of time setting up my Mac Mini G4 as a development machine. Yes, that machine is very slow, but that's one of the "good things": I'm trying to cut down bloat from the existing code, and I'll be "done" when the build times on such machine are reasonable!

Thursday, October 18, 2012

Status report: 2012-10-08 - 2012-10-14

Wow, been so busy this week that I forgot to write this earlier...
  • Ongoing work on the separate testers implementation. In particular, started migrating some of the "fs-management" code previously written in C++ to C so that it can be used from the separate binaries.

Tuesday, October 9, 2012

Status report: 2012-10-01 - 2012-10-07

  • Generalized test helper functions into new "utils" modules in ATF. These provide common functionality needed when having to deal with test data files from within C and C++ code, for example. The result is that the Makefiles of Kyua are significantly simplified.
  • More work towards independent, self-contained testers: cleaned up some existing code and added tests for some core functionality. Still not published though.

Monday, October 1, 2012

Status report: 2012-09-24 - 2012-09-30

Significant amount of progress towards the TestersDesign idea:
  • Got approval from NetBSD's core to proceed with my integration plan.
  • Introduced a new metadata object to hold the properties of a test case or a test program. The idea is that both will be able to carry the same properties at a later stage, and thus plain test programs will be able to share most of the features exposed to ATF-based test cases.
  • Got rid of the test case and test program class hierarchies. Instead, just rely on an "interface type" field and generalize all the other concepts. This is a prerequisite for separate, pluggable testers. The result is a much simpler codebase and database schema. (Still mostly a "prototype" though, as there are many rough edges left behind.)
  • Continued work on my preliminary C-based testers. So far focusing on extending ATF with a variety of helper functions that I frequently need to test command-line interfaces. (Should have done this ages ago...)
Update (20:46 EST): Forgot to include the most exciting news, which are now shown in the first item of the list!