AnalyzeRe.Client.Test 1.43.7478.20908

A testing framework for the Analyze Re Client Library

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package AnalyzeRe.Client.Test -Version 1.43.7478.20908
dotnet add package AnalyzeRe.Client.Test --version 1.43.7478.20908
<PackageReference Include="AnalyzeRe.Client.Test" Version="1.43.7478.20908" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AnalyzeRe.Client.Test --version 1.43.7478.20908
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: AnalyzeRe.Client.Test, 1.43.7478.20908"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install AnalyzeRe.Client.Test as a Cake Addin
#addin nuget:?package=AnalyzeRe.Client.Test&version=1.43.7478.20908

// Install AnalyzeRe.Client.Test as a Cake Tool
#tool nuget:?package=AnalyzeRe.Client.Test&version=1.43.7478.20908
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

An extensible unit testing framework that ensures all features of the client library work against your target Analyze Re API server. Facilitates testing of new custom features and libraries built off of the Analyze Re Client package.
1.42
- Reflection class instances can now be seeded to make their behaviour deterministic.
- Removed the NestedLayerLossSet (now obsolete) from the set of Loss Set types to randomly generate and include in a variety of input-fuzzing tests. Backwards-compatibility tests remain in place.
- Added rules to the random property value generation routines that not only result in a resource valid to Post, but also one that is valid to use in a simulation.

1.41
- Fixed test runs affecting the 'default server URL' in the current user's registry settings.
- Made the sample PortfolioView resources more complex by giving them 3 layer_views rather than 1.

1.40
- Base tests and sample resources added for new layer models (such as ValueAllocator, BackAllocatedLayer, Policy and Fee features)
- Added an additional loss set to each sample layer type to improve the variety of sample resources and coverage.
- Added a base test for random resource generation with validation enabled, which includes assurances that any resource property can either be randomly modified, or can identify whether and why that is not possible (useful for hash collision testing).
- Clarified the AssertAPI.AllPropertiesEqual helper method usage by splitting into 3 methods, with explicit methods for testing POST and PUT responses.

1.39
- Base resource testing suite has been overhauled in a major and backwards-incompatible way:
-- Test methods that used to expect a test resource factory method now just take a reference to a constructed instance.
-- Resources with data upload component are managed more simply, without having to provide a getter for the data endpoint.
-- Tests no longer attempt to toggle client request logging on and off. Instead, more detailed logs are written if and when a test failure occurs.
-- Removed a variety of obsolete constructs such as attempt to cleanup resource by deleting them following a test.
- Some `GenericTest` methods have been removed, renamed or consolidated with the
- Any tests for Layer or LayerView POST success now also assert that metrics can be retrieved on the new analysis without issues.
- Fixed an issue with using the unit testing library using the NUnit test runner on some systems.
- Fixed random resource generation producing invalid resources due to inlined nested filter definitions that contained embedded layer_view references more than one level deep.

1.38
- Fixed random resource generation creating invalid IAPIAnalysis resources due to mixing currencies for which there were no exchange rates available in the linked analysis profile.

1.36
- Adapts to the client-side changes that allow nested layers to reference layers or layer_views in some cases.
-- Reflection-based random resource generation and assertions have been adjusted in accordance. In most cases, helper methods are now more flexible, supporting any ICollection{T} arguments, rather than just List{T} arguments.
- Expanded on Reflection based resource generation utilities in to allow for more in-depth input fuzzing tests.

1.31
- New class `MockResponse.cs` used to mock RestSharp responses for testing without actually making a request.
- Setting the RUN_OFFLINE environment variable to true changes the behaviour of Samples (InjectibleResources) and base test methods to no longer rely on a server connection. Tests requiring a connection will return Inconclusive in this mode.
- Fixed a subtle error in the AssertAPI.AllPropertiesEqual test helper method when it recursed on resources.

1.27
- New TypedLockGuard class reduces contention for thread-safe shared sample resources and improves test performance.
- Source updated to take advantage of modern C#7 language features and their associated performance improvements.
- Reduced logging when the Reflection class is used to generate property values for trivial types.
- Adapt to new best-practices for resolving references introduced in version 1.27 of the client library.

1.26
- Test infrastructure changes to support new types and more numeric limits.
- Changes to default test assumptions surrounding updated platform features.

1.25
- Added additional testing infrastructure for collections.

1.21
- Updated usage and tests for IStoredAPIResource_WithStatus resources to respect the need to do status polling before considering the POST complete.

1.17
- Layer tests reconfigured to also test attributes of layers when inlined within LayerViews
- Reflection-based tests made to ignore resources tagged with the NotSaveable attribute.

1.15
- Added TestSuite_SimulationOptions for detailed tests on Reporting Period and other options.

1.14
- Fixed the TestSuite_LargeDataUpload.YELTStream returning 0 bytes if the requested buffer size was smaller than the first row generated.

1.11
- Removed LossNetOfOccurrenceTerms as an input and output perspective.

1.10
- Adapts to refactoring and namespace changes made in the client library.
- Modified the root namespace to fall outside of AnalyzeRe's core client library.
- Improvements and bug fixes to documentation

1.9:
- Includes source and symbols for debugging.
- Should no longer require projects to also add Json.NET or RestSharp as dependencies.

1.8:
- Backwards incompatible overhaul of unit test framework to simplify resource injection.

1.7:
- Now targets .NET Framework 4.5 to make use of improvements to native compression algorithms.

1.6 and earlier features:
- Injectable test resources for all of the resource types defined by the AnalyzeRe API
- Optional caching and injected resource re-use to allow integration tests to run quickly and in parallel.
- Tests which can serve as examples of every piece of functionality in the library and illustrate a number of error scenarios.
- Reflection-based utilities for generating random valid resources.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.43.7772.29301-beta 24 4/12/2021
1.43.7478.20908 275 6/22/2020
1.43.7475.20875 249 6/19/2020
1.43.7412.24747 231 4/17/2020
1.42.7406.41195 346 4/12/2020
1.42.7404.36368 344 4/9/2020
1.42.7391.18064 254 3/27/2020
1.42.7389.30216 231 3/25/2020
1.42.7389.20428 239 3/25/2020
1.41.7311.28613 283 1/7/2020
1.41.7284.33548 280 12/11/2019
1.41.7282.24768 261 12/9/2019
1.41.7282.24514-beta 253 12/9/2019
1.41.7279.25430 284 12/6/2019
1.40.7191.29223 315 9/9/2019
1.40.7104.16673 336 6/14/2019
1.40.7095.28735 353 6/5/2019
1.40.7093.16438 365 6/3/2019
1.40.7090.28046 329 5/31/2019
1.40.7068.28904 353 5/9/2019
1.40.7066.18196 344 5/7/2019
1.39.7052.25136 404 4/23/2019
1.39.7038.27247 342 4/9/2019
1.39.7038.26645-beta 326 4/9/2019
1.39.7031.27541 335 4/2/2019
1.39.7023.30811 343 3/25/2019
1.39.7017.20836 336 3/19/2019
1.39.7016.20637 337 3/18/2019
1.38.6960.20923 473 1/21/2019
1.38.6915.29547 539 12/7/2018
1.38.6914.25681 471 12/6/2018
1.37.6902.39692 479 11/25/2018
1.37.6902.39502-beta 442 11/25/2018
1.36.6901.21665-beta 444 11/23/2018
1.36.6901.17048 496 11/23/2018
1.36.6886.29866 484 11/8/2018
1.36.6884.21974 527 11/6/2018
1.36.6884.20545 495 11/6/2018
1.36.6883.30743 502 11/5/2018
1.35.6836.24279 598 9/19/2018
1.35.6822.18609 550 9/5/2018
1.35.6808.20082 602 8/22/2018
1.34.6774.31617 666 7/19/2018
1.33.6754.18738 686 6/29/2018
1.33.6750.32303 657 6/25/2018
1.33.6746.29757 647 6/21/2018
1.32.6744.32002 646 6/19/2018
1.31.6737.22360 710 6/12/2018
1.31.6737.21627 663 6/12/2018
1.31.6719.27629 647 5/25/2018
1.31.6719.21755 635 5/25/2018
1.31.6719.20583 631 5/25/2018
1.31.6717.19060 672 5/23/2018
1.30.6697.31277 657 5/3/2018
1.29.6610.27909 681 2/5/2018
1.29.6610.18983 600 2/5/2018
1.29.6610.1411 636 2/5/2018
1.29.6609.39376 602 2/5/2018
1.28.6607.18718 661 2/2/2018
1.28.6585.42534 560 1/12/2018
1.28.6579.40710 721 1/6/2018
1.28.6556.33617 560 12/13/2017
1.27.6533.19377 584 11/20/2017
1.27.6502.30669 573 10/20/2017
1.27.6438.31000 587 8/17/2017
1.27.6437.29692 575 8/16/2017
1.27.6431.18121 578 8/10/2017
1.27.6421.28854 585 7/31/2017
1.27.6401.30977 610 7/11/2017
1.27.6338.2270 632 5/9/2017
1.26.6330.28153 612 5/1/2017
1.26.6325.24058 592 4/26/2017
1.26.6325.24002 623 4/26/2017
1.26.6318.1-Beta 579 4/24/2017
1.26.6318-Beta 553 4/24/2017
1.26.6317.14578 620 4/18/2017
1.26.6315.23065 629 4/16/2017
1.26.6312.34624 633 4/13/2017
1.26.6312.30011 621 4/13/2017
1.26.6312.27506 589 4/13/2017
1.26.6312.25814 624 4/13/2017
1.26.6312.22781 638 4/13/2017
1.26.6312.18248 599 4/13/2017
1.25.6290.27880 740 3/22/2017
1.25.6257.30907 653 2/17/2017
1.25.6241.26274 661 2/1/2017
1.25.6213.26568 688 1/4/2017
1.25.6198.29366 706 12/20/2016
1.25.6197.23699 711 12/19/2016
1.24.6163.23726 650 11/15/2016
1.24.6158.25303 644 11/10/2016
1.24.6157.30539 645 11/9/2016
1.24.6149.29391 648 11/1/2016
1.24.6149.25457 643 11/1/2016
1.24.6148.26385 660 10/31/2016
1.23.6145.27798 682 10/28/2016
1.23.6142.23412 655 10/25/2016
1.23.6142.3189 648 10/25/2016
1.22.6130.21147 671 10/13/2016
1.22.6130.21054 650 10/13/2016
1.21.6124.20963 656 10/7/2016
1.20.6117.34157 649 9/30/2016
1.20.0-beta1 626 9/27/2016
1.19.6100.28240 649 9/13/2016
1.18.6096.23777 644 9/9/2016
1.17.6087.29127 647 8/31/2016
1.16.6081.21143 642 8/25/2016
1.15.6079.17009 667 8/23/2016
1.14.6078.27133 633 8/22/2016
1.13.6074.23768 677 8/18/2016
1.12.6071.16614 665 8/15/2016
1.12.6054.28859 665 7/29/2016
1.12.6054.15882 705 7/29/2016
1.12.6053.18776 688 7/28/2016
1.11.6051.24736 696 7/26/2016
1.11.6046.19761 689 7/21/2016
1.11.6039.27229 819 7/14/2016
1.11.6038.29304 867 7/13/2016
1.11.6037.24604 809 7/12/2016
1.11.6036.21377 812 7/11/2016
1.11.6032.22315 713 7/7/2016
1.10.6030.18547 687 7/5/2016
1.10.6029.28585 660 7/4/2016
1.10.6029.25374 688 7/4/2016
1.10.6025.40939 673 7/1/2016
1.9.6024.17072 696 6/29/2016
1.8.6022.22378 675 6/27/2016
1.8.6019.33691 681 6/24/2016
1.8.6019.30300 677 6/24/2016
1.8.6016.18890 683 6/21/2016
1.8.6015.37339 699 6/20/2016
1.7.6009.21437 681 6/14/2016
1.7.6008.40048 706 6/14/2016
1.7.6005.31458 705 6/10/2016
1.7.6005.17170 672 6/10/2016
1.7.6004.32310 686 6/9/2016
1.7.6003.26215 674 6/8/2016
1.7.6003.25126 676 6/8/2016
1.7.6003.22268 692 6/8/2016
1.7.5998.32101 681 6/3/2016
1.7.5998.28370 664 6/3/2016
1.7.5995.23412 705 5/31/2016
1.7.5991.25329 700 5/27/2016
1.7.5986.42312 700 5/23/2016
1.7.5986.195 694 5/22/2016
1.7.5985.33029 683 5/21/2016
1.7.5985.31333 694 5/21/2016
1.7.5981.19356 690 5/17/2016
1.7.5978.34426 711 5/14/2016
1.7.5978.23540 695 5/14/2016
1.7.5978.23176 682 5/14/2016
1.7.5977.26061 699 5/13/2016
1.7.5976.42073 694 5/13/2016
1.7.5976.17341 712 5/12/2016
1.7.5974.40614 701 5/11/2016
1.7.5968.407 771 5/4/2016
1.7.5955.36159 729 4/21/2016
1.7.5948.71 876 4/14/2016
1.6.5945.22766 708 4/11/2016
1.6.5945.18201 714 4/11/2016
1.6.5943.37154 718 4/9/2016
1.6.5943.36325 710 4/9/2016
1.6.5943.35524 715 4/9/2016
1.6.5943.13261 699 4/9/2016
1.6.5943.12132 711 4/9/2016
1.6.5943.9142 700 4/9/2016
1.6.0-beta1 647 3/24/2016
1.5.5926.39997 704 3/24/2016
1.5.5907.31694 721 3/4/2016
1.5.5904.19972 732 3/1/2016
1.5.5903.38645 719 3/1/2016
1.5.0-beta4 666 2/26/2016
1.5.0-beta3 636 2/19/2016
1.5.0-beta 661 2/10/2016
1.5.0-alpha 675 1/20/2016
1.4.5861.6743 760 1/18/2016
1.4.5861.5788 711 1/18/2016
1.4.5861.4185 725 1/18/2016
1.4.2-alpha 743 1/15/2016
1.4.1-alpha 688 12/4/2015
1.4.0-alpha 703 11/17/2015
1.3.5860.42802 696 1/18/2016
1.3.5858.19068 711 1/15/2016
1.3.5855.31883 715 1/12/2016
1.3.5855.29687 715 1/12/2016
1.3.5808.32122 736 11/26/2015
1.3.5781.25862 769 10/30/2015
1.1.5751.18720 812 9/30/2015
1.1.5738.29105 787 9/17/2015
1.1.5735.31446 782 9/14/2015
1.1.5731.28218 838 9/10/2015
1.1.2-alpha 726 9/8/2015
1.1.1-alpha 705 9/8/2015
1.0.5731.28016 776 9/10/2015
1.0.5700.21033 788 8/10/2015
1.0.5697.32747 748 8/7/2015
1.0.5697.30798 777 8/7/2015
1.0.5697.22963 746 8/7/2015
1.0.5696.32877 785 8/6/2015
1.0.5696.28969 748 8/6/2015
1.0.5694.34850 770 8/4/2015
1.0.5694.33889 742 8/4/2015
1.0.5694.25198 735 8/4/2015
1.0.5694.18350 761 8/4/2015
1.0.5689.31331 775 7/30/2015
1.0.5686.21655 768 7/27/2015
1.0.5680.30452 781 7/21/2015
1.0.5679.17106 761 7/20/2015
1.0.5675.26826 833 7/16/2015
1.0.5675.26111 751 7/16/2015
1.0.5651.29997 805 6/22/2015
1.0.5647.26487 772 6/18/2015
1.0.5639.28670 790 6/10/2015
1.0.5639.16853 771 6/10/2015
1.0.5638.41835 765 6/10/2015
1.0.5638.37519 795 6/10/2015
1.0.5632.27111 775 6/3/2015
1.0.5626.31978 787 5/28/2015
1.0.5620.26675 776 5/22/2015
1.0.5619.22900 739 5/21/2015
1.0.5610.17716 791 5/12/2015
1.0.5606.29166 752 5/8/2015
1.0.5605.27666 754 5/7/2015
1.0.5605.23108 757 5/7/2015
1.0.5603.29582 756 5/5/2015
1.0.5603.29397 750 5/5/2015