Skip to content

assertible/go-heroku-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assertible logo

Automated smoke testing a Go app on Heroku example



Automatically run smoke tests for a Go application every time it's deployed to Heroku using Assertible.

Tutorial: Automated smoke testing a Go API on Heroku   ·   Example PR   ·   Try opening a PR

Quick start

The following step are high-level overview for how to get review apps working with Assertible.

1. Setup a Heroku app w/ Review Apps enabled

Heroku pipeline with Review Apps Enabled

2. Configure Assertible web service

Configuring a web service in Assertible

3. Connect Assertible web service to GitHub

Connect Assertible to GitHub

4. Push code to a pull request

Automated API tests run by Assertible reported to GitHub pull request

Documentation and resources

Testing production

When changes are merged to master, Assertible will automatically run checks against your production application.

You may need to configure a new environment in Assertible which matches the name of your Heroku application. For this app I have created an environment named go-heroku-assertible-example:

Heroku pipeline with Review Apps Enabled

License

The code in this repository is licensed under MIT. View the license


assertible.com  ·  GitHub @assertible  ·  Twitter @AssertibleApp