Skip to content

Add unit tests and fix failures #17

Add unit tests and fix failures

Add unit tests and fix failures #17

Triggered via pull request September 25, 2024 11:10
Status Failure
Total duration 37s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: test/DotUtils.StreamUtils.Tests/SubStreamTests.cs#L35
Public method 'Read_ReadsOnlyAllowedBounderies' on test class 'SubStreamTests' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L35
Public method 'Read_TracksPosition' on test class 'TransparentReadStreamTests' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L64
Public method 'Seek_TracksPosition' on test class 'TransparentReadStreamTests' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L98
Public method 'Read_ConstraintsBytesCountAllowedToRead' on test class 'TransparentReadStreamTests' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L35
Test data attribute should only be used on a Theory. Remove the test data, or add the Theory attribute to the test method. (https://xunit.net/xunit.analyzers/rules/xUnit1008)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L64
Test data attribute should only be used on a Theory. Remove the test data, or add the Theory attribute to the test method. (https://xunit.net/xunit.analyzers/rules/xUnit1008)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L98
Test data attribute should only be used on a Theory. Remove the test data, or add the Theory attribute to the test method. (https://xunit.net/xunit.analyzers/rules/xUnit1008)
build: test/DotUtils.StreamUtils.Tests/SubStreamTests.cs#L35
Test data attribute should only be used on a Theory. Remove the test data, or add the Theory attribute to the test method. (https://xunit.net/xunit.analyzers/rules/xUnit1008)
build: test/DotUtils.StreamUtils.Tests/SubStreamTests.cs#L35
Public method 'Read_ReadsOnlyAllowedBounderies' on test class 'SubStreamTests' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
build: test/DotUtils.StreamUtils.Tests/TransparentReadStreamTests.cs#L35
Public method 'Read_TracksPosition' on test class 'TransparentReadStreamTests' should be marked as a Theory. Reduce the visibility of the method, or add a Theory attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)