WattDepot unit testing

Last week I continued work on the WattDepot implementation. The unit tests of DbManager took much longer to write and debug than I expected. I ended up doing a lot of refactoring, and probably should do even more refactoring to make the test methods smaller (right now have too many test cases in each test method).

Now that I have a temporary database layer, I’m focusing on the User, Source, and SensorData resources. I started on the User resource last week, need to push through the other resources now. I also need to start working with CouchDB so I can have a real persistance layer, and define the API for the Energy and Carbon resources.

The deadline for the First International Workshop on Software Research and Climate Change is coming up, so I need to figure out if I am going to attend, start writing position papers, make travel plans, and apply for GSO travel grant.

Plans from last week:

  • Finish writing DbManager tests
    • done
  • Implement User resource
    • started, not complete
  • Implement Source resource
    • not done
  • Start reading CouchDB manual
    • not done
  • Install CouchDB
    • not done
  • Add Energy resource to REST API
    • not done
  • Videotape REIS seminar
    • done, but the footage is suboptimal
  • Write followup email to Blue Planet
    • not done, but followup meeting has been scheduled

Other accomplishments from last week:

  • Figured out why JAXB wasn’t working with IvyRoundup (requires manual download), and suggested change to their XML stylesheet to emphasize this fact
  • Started reading the GSO travel grant application process
  • Became primary ICS representative to the GSO
  • Downloaded video from REIS seminar

Pointers to work products:

Plans for this week:

  • Finish implementing User resource
  • Implement Source resource
  • Implement SensorData resource
  • Start reading CouchDB manual
  • Install CouchDB
  • Add Energy resource to REST API

Cool links:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s