Testing

Documentation > Developer Guide

There are unit and integration test projects in the PDS.WITSMLstudio.Desktop and PDS.WITSMLstudio.Store solutions. The folder and class layout of the test projects mirrors the layout of the project and class that is being tested.

Integration tests for WITSML data objects in most cases are further subdivided by data object type (Well, Wellbore, etc.), WITSML version (1.3.1.1, 1.4.1.1, etc.) and WITSML function type (AddToStore, GetFromStore, etc.).

Unit Tests
  • PDS.WITSMLstudio
    • Core.UnitTest - tests included for data generation, data readers and extension classes
  • Desktop
    • Desktop.UnitTest - tests for the plug-in and MVVM architectures
Integration Tests
  • PDS.WITSMLstudio
    • Store.IntegrationTest - data adapter and validator tests by data object type, WITSML version and WITSML function type
  • Store
    • Store.MongoDb.IntegrationTest - MongoDB data adapter tests by data object type, WITSML version and WITSML function type
  • Desktop
    • Desktop.IntegrationTest - tests for plug-in view model testing

Documentation > Developer Guide