mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 08:11:10 +00:00
Formats code comments as sentences in the tests.
Capitalizes the first word and adds the terminal period in the unit, integration and security tests. The AAA markers stay bare, the TODO bodies stay lowercase, and no assertion, payload, expected status code or test signature changes.
This commit is contained in:
1 parent
727aa33318
commit
057f557791
540 files changed
+3888
-3888
No files matched your search
+1
-1
@@ -49,7 +49,7 @@ internal static class TelemetryTestHelpers
|
||||
};
|
||||
// InstrumentPublished fires for instruments created after Start(), and Start() also replays every instrument
|
||||
// that already exists on the meter; therefore the lazily-initialized static handler instruments are captured by
|
||||
// every listener, whether they were created before or during the test
|
||||
// every listener, whether they were created before or during the test.
|
||||
listener.SetMeasurementEventCallback<double>((instrument, value, tags, state) => measurements.Add((instrument.Name, value, GetOutcomeTag(tags))));
|
||||
listener.SetMeasurementEventCallback<long>((instrument, value, tags, state) => measurements.Add((instrument.Name, value, GetOutcomeTag(tags))));
|
||||
listener.Start();
|
||||
|
||||
Reference in new issue
Block a user