Skip to content

System tests for the Operating System data ingestion pipeline.

License

Notifications You must be signed in to change notification settings

UrbanOS-Examples/scos-system-test

Repository files navigation

ScosSystemTest

TODO: Add description

Performance

This module will generate a given number of data sets with a given number of records each, and post them to ANDI. You can also specifiy the ANDI url that you want to post the data to, as well as the test data generator url. You can run this locally via iex. the options are passed as a keyword list like below:

$ iex -S mix
iex(1)> ScosSystemTest.Performance.run([record_counts: [10], dataset_count: 2, andi_url: "https://andi.staging.internal.smartcolumbusos.com", tdg_url: "http://data-generator.testing"])

Currently, this is not runnable through jenkins.

Installation

If available in Hex, the package can be installed by adding scos_system_test to your list of dependencies in mix.exs:

def deps do
  [
    {:scos_system_test, "~> 0.1.1"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/scos_system_test.

Running

MIX_ENV=system mix test