testing-standards

Series StaticSeriesTestBase

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "testing-standards" with this command: npx skills add daveskender/stock.indicators/daveskender-stock-indicators-testing-standards

Testing standards

Base class selection

Style Base Class

Series StaticSeriesTestBase

Buffer BufferListTestBase

Stream StreamHubTestBase

Other TestBase

Test naming

Pattern: MethodName_StateUnderTest_ExpectedBehavior

Required abstract methods

Compile errors if missing. Additional tests are developer discretion.

Series (StaticSeriesTestBase ):

  • DefaultParameters_ReturnsExpectedResults()

  • BadQuotes_DoesNotFail()

  • NoQuotes_ReturnsEmpty()

Buffer (BufferListTestBase ):

  • PruneList_OverMaxListSize_AutoAdjustsListAndBuffers()

  • Clear_WithState_ResetsState()

  • Plus interface methods from ITestQuoteBufferList or ITestChainBufferList (see patterns reference)

Stream (StreamHubTestBase ):

  • ToStringOverride_ReturnsExpectedName()

  • Plus interface methods from ITestQuoteObserver , ITestChainObserver , and/or ITestChainProvider (see patterns reference)

Test data

Data.GetDefault() — 502 quotes. Use consistently across all tests.

See references/patterns.md for FluentAssertions patterns, precision constants, and full BufferList/StreamHub interface method lists.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

indicator-catalog

No summary provided by upstream source.

Repository SourceNeeds Review
General

indicator-buffer

No summary provided by upstream source.

Repository SourceNeeds Review
General

performance-testing

No summary provided by upstream source.

Repository SourceNeeds Review