Skip to content

Test/thread config#55

Open
AlbertOpus2507 wants to merge 3 commits into
release-v2.0from
test/thread-config
Open

Test/thread config#55
AlbertOpus2507 wants to merge 3 commits into
release-v2.0from
test/thread-config

Conversation

@AlbertOpus2507
Copy link
Copy Markdown

Added test cases for constructor for ThreadConfigDataPerStimulator

Copy link
Copy Markdown
Owner

@lhmcgann lhmcgann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments here are just on adding comments. Will review the test cases in more detail once those are added

/// </summary>
public static IEnumerable<object[]> ConstructorTestData => new List<object[]>
{
new object[]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add quick in-line comments just explaining what this test case is supposed to be, i.e., why did you pick the data values you did? What are you testing with it?

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Als similar in-line comments throughout your test method bodies must to make it super clear to readers what you're intending to do in that check

/// <summary>
/// Unit tests for the ThreadConfigDataPerStimulator record.
/// </summary>
public class ThreadConfigDataPerStimulatorTest
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, nice naming and doc-commenting of methods! Can you add a doc-comment for the source class itself, too?

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.

2 participants