1
0
mirror of https://gitlab.com/Anson-Projects/spacesystemscalc.git synced 2025-08-03 11:51:24 +00:00

Init Commit

This commit is contained in:
2022-08-22 20:18:28 -06:00
commit 3071dd9fd1
56 changed files with 1880 additions and 0 deletions

6
test/Project.toml Normal file
View File

@@ -0,0 +1,6 @@
[deps]
Genie = "c43c736e-a2d1-11e8-161f-af95117fbd1e"
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
TestSetExtensions = "98d24dd4-01ad-11ea-1b02-c9a08f80db04"

27
test/runtests.jl Normal file
View File

@@ -0,0 +1,27 @@
# This file is autogenerated to run all tests in the context of your Genie app.
# It is not necessary to edit this file.
# To create tests, simply add `.jl` test files in the `test/` folder.
# All `.jl` files in the `test/` folder will be automaticlaly executed by running `$ julia --project runtests.jl`
# If you want to selectively run tests, use `$ julia --project runtests.jl test_file_1 test_file_2`
ENV["GENIE_ENV"] = "test"
push!(LOAD_PATH, abspath(normpath(joinpath("..", "src"))))
cd("..")
using Pkg
Pkg.activate(".")
using Genie
Genie.loadapp("..")
cd(@__DIR__)
Pkg.activate(".")
# !!! Main.UserApp is configured as an alias for Main.Spacesystemscalc and you might encounter it in some tests
using Main.Spacesystemscalc, Test, TestSetExtensions, Logging
Logging.global_logger(NullLogger())
@testset ExtendedTestSet "Spacesystemscalc tests" begin
@includetests ARGS
end