Donald Le

ginkgo

Ginkgo is a great framework for structuring your tests in Go. With the ability to extend test report with allure, it’s even better.

Photo by Boxed Water Is Better on Unsplash

First, make sure you install allure in your environment. Follow this guide for how to do it.

Check whether allure is installed successfully with.

allure --version

Run your ginkgo test with option for generating report xml

ginkgo -r --keep-going --junit-report=report.xml ${test_path}

Move your test result (report.xml) to allure results folder

--

--

Donald Le

Donald Le

A passionate automation engineer who strongly believes in “A man can do anything he wants if he puts in the work”.