Opened 5 years ago

Last modified 4 years ago

#3453 new project-idea

[AngularJS Project] Improve AngularJS unit testing framework

Reported by: dustin Owned by:
Priority: major Milestone: 0.9.+
Version: Keywords:


The unit tests for Buildbot's Angular components need to be expanded. That means more tests, but it also means more support code for those tests. In particular, a realistic means of simulating the Buildbot server backend. Ideally that would be a fake backend, and one that is guaranteed to match the real thing by use of RAML or JSON-Schema or similar API-description techniques.

This project would involve picking the API-description technique, applying it in the Python code, and then writing the fake backend in CoffeeScript. And writing tests that use the backend, to show that it works.

There are other options here -- perhaps running the Buildbot master in a "test backend" mode that allows extra API calls. The end result should be a way to realistically test Angular components against the Buildbot Data API.

Change History (1)

Note: See TracTickets for help on using tickets.