test

package
v0.0.0-...-6f7b503 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2024 License: MIT Imports: 12 Imported by: 0

README

Tests

Setup

We use docker-compose to setup our architecture. Run: ./setup_env.sh to run the MongoDB and Neo4j.

Integration Tests

In the main folder of the project run: make integration-test.

Benchmark Tests

We used the framework of Golang to benchmark the system. You can run the benchmark tests from the main folder of the project by running: make benchmark-test.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Marshal

func Marshal(config interface{}) []byte

func RandString

func RandString(n int) string

func WaitForCondition

func WaitForCondition(condition func() bool, timeout time.Duration) error

Types

type TestDocument

type TestDocument struct {
	Name string `bson:"name"`
}

func GenerateDoc

func GenerateDoc() TestDocument

Directories

Path Synopsis
drivers

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL