Skip to content

Migrate tests to TUnit; add generators & emulator#174

Open
ChrisPulman wants to merge 1 commit into
mainfrom
TestModbusRTU
Open

Migrate tests to TUnit; add generators & emulator#174
ChrisPulman wants to merge 1 commit into
mainfrom
TestModbusRTU

Conversation

@ChrisPulman
Copy link
Copy Markdown
Owner

Replace xUnit tooling with TUnit/Microsoft Testing Platform and add a reactive source generator and a serial driver test emulator. Changes include: update Directory.Build.props to use TUnit, add TUnit compatibility helper (TUnitXunitCompat.cs) and global.json test runner, convert many unit/integration tests to TUnit assertions, and document TUnit usage in README.
Introduce ModbusRx.Generators (source generator + tests) to generate reactive register-map members, new reactive extensions, and generator test project. Add ModbusRx.DriverTest utilities: DummyTemperatureController, Modbus CRC, Modbus RTU handler, SerialDeviceEmulator and an updated driver Program to emulate a Modbus RTU device over virtual serial ports.
Minor library/test project and README updates to reflect new targets (net9/net10), async-observable bridges, and build/test instructions.

Replace xUnit tooling with TUnit/Microsoft Testing Platform and add a reactive source generator and a serial driver test emulator. Changes include: update Directory.Build.props to use TUnit, add TUnit compatibility helper (TUnitXunitCompat.cs) and global.json test runner, convert many unit/integration tests to TUnit assertions, and document TUnit usage in README. Introduce ModbusRx.Generators (source generator + tests) to generate reactive register-map members, new reactive extensions, and generator test project. Add ModbusRx.DriverTest utilities: DummyTemperatureController, Modbus CRC, Modbus RTU handler, SerialDeviceEmulator and an updated driver Program to emulate a Modbus RTU device over virtual serial ports. Minor library/test project and README updates to reflect new targets (net9/net10), async-observable bridges, and build/test instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant