Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Establish best practices for an arduino library's repository using arduino_ci #164

Copy link
Copy link
Open
@ianfixes

Description

@ianfixes
Issue body actions

Summary

continuing #150

When writing a library that might be consumed by other libraries, how can we best provide mocks for those downstream project? In other words, given a library called font which depends on one called pixel, what should pixel look like? Initial considerations are the following:

  • Some ability for pixel to provide a mock class (or other testing aid) that font can have access to
  • Some ability to easily switch between mocks and real classes (support dependency injection?)
  • Assurance that there is no cost (in compiled bytes on real hardware) for providing test classes. (Compiler flags?)
  • Ability to test pixel mocks from pixel CI
  • How to structure test fixtures for discoverability
  • etc

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.