Skip to content

codefreshdemo/cf-example-unit-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Unit tests example

This is a single Git repository that holds two microservices (Python and GO) that demonstrates different ways of running unit tests with Codefresh.

Packaging the Go app

To compile and package using Docker

cd golang-app-A
docker build . -t my-go-app

Packaging the Python app

To compile and package using Docker

cd python-app-B
docker build . -t my-python-app

Running the unit tests locally

To run unit tests each application

cd golang-app-A
go test -v

and

cd python-app-B
python setup.py test

You need to have a development environment for Go/Python in each case.

To use this project in Codefresh

There is also a codefresh.yml for easy usage with the Codefresh CI/CD platform.

More details can be found in Codefresh documentation.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •