-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- split unittests in fast and slow tests - split componenttests in fast and slow tests - use new unittests_all as regular CI workflow - use new unittests_all for code coverage
- Loading branch information
1 parent
9abafd3
commit 502c6b7
Showing
13 changed files
with
95 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using DiffFusion | ||
using Test | ||
|
||
@info "Start componenttests_all.jl." | ||
|
||
@testset verbose=true "componenttests_all.jl" begin | ||
|
||
include("componenttests_fast.jl") | ||
include("componenttests_slow.jl") | ||
|
||
end | ||
|
||
@info "Start componenttests_all.jl." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using DiffFusion | ||
using Test | ||
|
||
@info "Start componenttests_fast.jl." | ||
|
||
@testset verbose=true "componenttests_fast.jl" begin | ||
|
||
include("calibration/swap_rate_calibration.jl") | ||
|
||
include("scenarios/asset_options.jl") | ||
include("scenarios/bermudan_swaption.jl") | ||
include("scenarios/rates_option.jl") | ||
include("scenarios/scenarios.jl") | ||
include("scenarios/swaptions_expected_exposure.jl") | ||
|
||
end | ||
|
||
@info "Start componenttests_fast.jl." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using DiffFusion | ||
using Test | ||
|
||
@info "Start componenttests_slow.jl." | ||
|
||
@testset verbose=true "componenttests_slow.jl" begin | ||
|
||
include("sensitivities/forwards_deltas.jl") | ||
include("sensitivities/option_deltas.jl") | ||
include("sensitivities/swap_deltas.jl") | ||
include("sensitivities/option_vegas.jl") | ||
include("sensitivities/swaptions_delta_vega.jl") | ||
|
||
include("sensitivities/gradients.jl") | ||
|
||
end | ||
|
||
@info "Start componenttests_slow.jl." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
|
||
using Test | ||
|
||
@info "Start unittests_all.jl." | ||
|
||
@testset verbose=true "unittests_all.jl" begin | ||
|
||
include("unittests_fast.jl") | ||
include("unittests_slow.jl") | ||
|
||
end | ||
|
||
@info "Finished unittests_all.jl." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
using Test | ||
|
||
@info "Start unittests_slow.jl." | ||
|
||
@testset verbose=true "unittests_slow.jl" begin | ||
|
||
include("analytics/valuations.jl") | ||
|
||
end | ||
|
||
@info "Finished unittests_slow.jl." |