Skip to content

Add github action to run tests #5

Add github action to run tests

Add github action to run tests #5

GitHub Actions / Rspec Tests - 3.0 succeeded Oct 17, 2024 in 0s

16 passed, 0 failed and 0 skipped

Tests passed successfully

✅ test_results/rspec.xml

16 tests were completed in 5ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
rspec 16✅ 5ms

✅ rspec

spec.unit.value_spec
  ✅ Value Value.new requires arguments
  ✅ Value Value.new requires members to be valid identifiers
  ✅ Value with a simple value can construct an instance with positional arguments
  ✅ Value with a simple value can construct an instance with keyword arguments
  ✅ Value with a simple value raises an error if unknown keyword arguments are provided
  ✅ Value with a simple value is immutable
  ✅ Value with a simple value can be mutated after duplicating
  ✅ Value with a simple value can update values via .with
  ✅ Value with optional arguments can construct an instance with positional arguments
  ✅ Value with optional arguments can construct an instance with keyword arguments
  ✅ Value with optional arguments can update values via .with
  ✅ Value with optional arguments raises an error unless all required positional arguments are provided
  ✅ Value with optional arguments raises an error unless all required keyword arguments are provided
  ✅ Value with a class body can override the constructor and call super
  ✅ Value with a class body can define methods
  ✅ Value with a class body only invokes the class body once