codeforamerica / denver-schedules-api

An api for city events & schedules.
MIT License
7 stars 5 forks source link

Create bootstrapper only once per module #18

Closed gregoryjscott closed 10 years ago

gregoryjscott commented 10 years ago

Creating the Bootstrapper is slow. This changes it from creating it once per test to just once per module (actually once per module test class). Currently all the tests could share the same Bootstrapper and shave off more time, but this change is just the quick win by swapping the NUnit attribute. It's noticeably faster.

This will fix #9.

boonrs commented 10 years ago

:clap: This is noticeably faster. Went from 59.277 to .268 seconds! :+1: