ignite / apps

Ignite Apps
https://docs.ignite.com/apps/using-apps
Other
11 stars 3 forks source link

FIX: Redirect App Output from StdErr to StdOut in Integration Tests #73

Open Pantani opened 5 months ago

Pantani commented 5 months ago

The app output in the integration tests is going to the StdErr. We should check if everything is always going to the StdErr and fix

E.g.:

https://github.com/ignite/apps/blob/b54b50d61828afd9cbe78ea8a6d333ee0fed0e8d/examples/health-monitor/integration/app_test.go#L50-L50

https://github.com/ignite/apps/blob/b54b50d61828afd9cbe78ea8a6d333ee0fed0e8d/examples/hello-world/integration/app_test.go#L48-L48

https://github.com/ignite/apps/blob/b54b50d61828afd9cbe78ea8a6d333ee0fed0e8d/examples/chain-info/integration/app_test.go#L49-L49

https://github.com/ignite/apps/blob/b54b50d61828afd9cbe78ea8a6d333ee0fed0e8d/marketplace/integration/list_test.go#L50-L50

Pantani commented 5 months ago

The problem was solved, but the integration tests for the explorer apps are showing the stdout into the stderr, but only in the tests; we should investigate later