You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.
I found that currently in this project unit test has not be enabled.
Here is my guess. In .travis.yml there is a command
- cd ${TRAVIS_BUILD_DIR} && sudo GOPATH=${GOPATH} PATH=${PATH} GOROOT=${GOROOT} hack/test-cmd.sh
Then it seems to execute hack/test-cmd.sh, and in this file details are like below:
#!/bin/bash
# This command checks that the built commands can function together for
# simple scenarios. It does not require Docker so it can run in travis.
set -o errexit
set -o nounset
set -o pipefail
# prepare kernel and initrd
export HYPERSTARTPATH="$GOPATH/src/github.com/hyperhq/hyperstart"
export RUNVPATH="$GOPATH/src/github.com/hyperhq/runv"
cd $HYPERSTARTPATH && ./autogen.sh && ./configure && make
cp -v $HYPERSTARTPATH/build/{kernel,hyper-initrd.img} $RUNVPATH/tests/go-integration/test_data/
# do runv integration-test
cd $RUNVPATH
hack/install-bats.sh
make test-integration
And I guess it works as just integration test with cli, right?
I think this is not hard to take unit test into consideration. While what makes me step back is that there seems to be some unit test code not working...
And I am a freshman here in runV, so I am afraid it would take me quite much time to improve unit test code. Back to the theme, I still wish that we could enjoy the unit test here.
The text was updated successfully, but these errors were encountered:
Hi, All,
I found that currently in this project unit test has not be enabled.
Here is my guess. In
.travis.yml
there is a commandThen it seems to execute
hack/test-cmd.sh
, and in this file details are like below:And I guess it works as just integration test with cli, right?
I think this is not hard to take unit test into consideration. While what makes me step back is that there seems to be some unit test code not working...
And I am a freshman here in runV, so I am afraid it would take me quite much time to improve unit test code. Back to the theme, I still wish that we could enjoy the unit test here.
The text was updated successfully, but these errors were encountered: