Wizcorp / node-pivotal

NodeJS API library for PivotalTracker
44 stars 20 forks source link

Nodeunit: Alternative tests with startUp and tearDown #24

Closed MRdNk closed 9 years ago

MRdNk commented 11 years ago

@stelcheck I wanted a way to have startUp and tearDown, to test getProjects, so I've added nodeunit and some tests for projects.

It's entirely up to you, if you like this approach or not, it's your project, it's more of a suggestion and it shows how my new toArray (array factory) works in practice.

Let me know, or start a discussion.

MRdNk commented 11 years ago

Actually there is a problem with these tests, it relies on the project being used having no stories.

MRdNk commented 11 years ago

Last commit, added a new project in the first startUp ensuring no stories exist, but relies on tester removing the project as Pivotal provide no way of removing a project via the API (annoying!)

MRdNk commented 9 years ago

Closed as no movement on PR