Start Bee (with ACT) in dev mode:
./bee dev
Or run Bee on any host or in a container, possibly one connecting to the Sepolia test network (make sure the configuration is correct).
Uploading a file then downloading it with and without ACT:
Execute the shell script with the file name to upload as an argument:
./updown.sh README.md
Hurl test
Uploading a file then downloading it with and without ACT:
Execute the Hurl script with the file name to upload as the file_name
variable:
hurl updown.hurl --test --variable file_name=README.md
For debug mode simply add -v
to the command:
hurl -v --test test.hurl
To generate an HTML test report, you can use the --report-html
option with a target directory specified (in this
example 'report'):
hurl updown.hurl --report-html report
To create a custom bee with ACT, checkout the act-ctrl
branch and build bee using the Dockerfile.
-
Build the Docker image:
docker build --progress=plain --no-cache -t bee-act .
If you want to build the image with a specific version of Bee, you can use the
--build-arg
option, but the BEE_REPO and BEE_BRANCH arguments have a default value as well in the Dockerfile:docker build --build-arg BEE_REPO=https://github.com/Solar-Punk-Ltd/bee.git --build-arg BEE_BRANCH=master --progress=plain --no-cache -t bee-act .
-
Run the container (bee with act in dev mode):
docker run -it --rm --network=host --name bee-act bee-act
-
Execute the
updown.hurl
test:hurl updown.hurl --test --variable file_name=README.md
-
Run the
test_suite.sh
script:./test_suite.sh
.docker build --progress=plain --no-cache -t bee-act -f test.Dockerfile .