coco / gitsup

View a GitHub project's issues sorted by thumbs up - down.
https://gitsup.herokuapp.com/isaacs/github
4 stars 1 forks source link

We need a test framework and procedure #12

Open mariosant opened 8 years ago

mariosant commented 8 years ago

Add a few tests to make sure everything is ok to deploy. I would like to check Wercker out. What's your opinion?

howardroark commented 8 years ago

I'm down for whatever! Can this eventually deploy the app upon pull requests?

mariosant commented 8 years ago

I guess so...

made-by-chris commented 8 years ago

I'm somewhat familiar with automatic testing and deployment with jenkins integrated with github, but I'd be down for trying something newer too

mariosant commented 8 years ago

Wercker seems to need a local Docker installation. Docker is lovely but I don't have the time to do it right now, so let's get going with our beloved Travis.

mariosant commented 8 years ago

Status update:

I have setup the test procedure, with the help of chimp test tool. In order to launch the test suite, Meteor must be running already.

$ chimp ./.config/chimp-ci.js 

[chimp] Running...

  Describe bootstrap
    ✓ should require underscore.js @watch

  Routes
    Homepage route
      ✓ should have a homepage @watch
    Issues route
      ✓ should have /gitsup/gitsup/issues issues route @watch
      ✓ should have /gitsup/gitsup/pulls issues route @watch
      ✓ should have /gitsup/gitsup/ issues route @watch

Now the difficult part. I am having problem integrating this problem with CI tools like Travis. I would appreciate your help here.

I am going to unassign this task from me. Feel free to work and experiment on this.

mariosant commented 8 years ago

@howardroark and @basiclaser, maybe merge it so we have a working test framework and try to integrate it with CI on second phase?