frc-frecon / frecon

An API for building scouting apps for FRC competitions
MIT License
3 stars 0 forks source link

Tests #37

Closed rye closed 9 years ago

rye commented 9 years ago

Test suites are great. They eliminate the gruntwork required for checking if something fixes something. Instead of having to click around on a website, we can simply write some code to check our code. Then, as we make changes, we can simply check to see if these tests pass or not.

In general, I'd say there are a few different approaches that we need to check:

The biggest roadblock for this is selecting a system and actually getting it done. However, I think the benefits will be relatively large. If the test suite mirrors the functionality of the API and is kept up-to-date, it will provide a clear image of how well things are going. Likewise, on webca, we could script testing JavaScript and HTML placement and such. For comparison, GitHub themselves use tests to check wording and phrasing of their blog posts. Perhaps we should consider adopting testing.

rye commented 9 years ago

I've created the test branch for starting on this, as I feel the response will be positive.

rye commented 9 years ago

We'll need to add some dependencies to get this to work. Namely rspec, guard, and guard-rspec, it seems.

Sammidysam commented 9 years ago

Duplicate of #19?

rye commented 9 years ago

Ahahaha lol I should probably check things. I'm closing this one and CC'ing this to the other one.