- Update to xUnit v3 (#350). To update your test projects:
- Replace any package references to
xunitwithxunit.v3. - Ensure test projects are using a v3.x version of
xunit.runner.visualstudio. - Follow any other instructions in Migrating Unit Tests from v2 to v3.
- Replace any package references to
- Add test for
Disposedevent being raised. - Update Xunit to 2.5.3.
- Revert to using Xunit.SkippableFact for skippable tests.
- Add many new test methods, including hundreds for
GetFieldValueAsync. - Update Xunit to 2.4.2.
- Remove dependency on Xunit.SkippableFact.
- Add
DbProviderFactoryTestBase. - Test that
GetSchemaTablereturnsnull.
- Add nullability tests.
- Add connection string tests.
- Add
CommandBehaviortests. - Breaking Move tests to new
TransactionTestBaseclass. - Thanks to Shay Rojansky for contributions to this release.
- Add
DataReaderTestBase.GetValues_throws_for_null. - For each
DataReader.GetXtest, add a parallelGetFieldValue<x>test for the return type.- For example, added tests of
GetFieldValue<byte>alongsideGetByteandGetFieldValue<short>alongsideGetInt16.
- For example, added tests of
- Add conversion tests:
GetDecimalfor float and double columns (should fail)GetDoublefor decimal columns (should pass)GetFloatfor decimal columns (should pass)
- Breaking Add
ISelectValueFixture.NullValueExceptionType. - Add more cancellation tests: #14.
- Add
GetTextReadertests. - Add tests for
DbParameterandDbParameterCollection. - Test
GetStringfor numeric columns (should fail). - Test
GetFieldValue<TextReader>. - Test
DbDataReadermethods after executing aDELETEstatement: #28. - Test
DbDataReader.Readcontinues returningfalse: #24. - Test
DbDataReader.GetValueswith null argument.
- Test
DbCommand.Cancel. - Check lowercase column name in
GetName: #12.
- Add
GetChar,Commit_transaction,Rollback_transactiontests; see API diff - Update to xUnit.net 2.4.1
- Breaking Removed
AdoNet.Specification.Tests.Databasenamespace,DatabaseBaseclass and derived classes - Breaking Removed some
virtualtests fromCommandTestBase,DataReaderTestBase - Breaking Changed
DataReaderTestBaseto requireISelectValueFixture - Add
ISelectValueFixtureinterface - Remove methods from
IDbFactoryFixture(they have moved toISelectValueFixture) - Add
GetValueConversionTestBasetest class - Add
ParameterTestBasetest class
- Initial release