Skip to main content

Test

Unit Test

Run the command

go test -v ./...

in the project folder

Integration Test

Run

sudo chmod +x integration_test.sh
./integration_test.sh

You'll have this output

Running Snake to Camel conversion...
Pass Test: Snake to Camel
Running Snake to Pascal conversion...
Pass Test: Snake to Pascal
Running Camel to Snake conversion...
Pass Test: Camel To Snake
Running Camel to Pascal conversion...
Pass Test: Camel To Pascal
Running Pascal to Snake conversion...
Pass Test: Pascal To Snake
Running Pascal to Camel conversion...
Pass Test: Pascal To Camel