Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[ios, macos] Add testing for code in guides #8461

Closed

Description

@jmkiley

We should add a separate test file for the code that lives in our SDK guides, or discuss other methods of testing code snippets.

cc @friedbunny

Activity

  1. added
    iOS
    macOS
    on Mar 17, 2017
  2. added this to the ios-v3.5.1 milestone on Mar 17, 2017
  3. friedbunny commented on Mar 17, 2017

    @friedbunny
    Contributor

    See @ericrwolfe’s #8354 (comment) for more information about other examples testing that’s already happening.

    We might be able to rework the original script from this PR #7337 to scan through the guides directory and replace placeholder tokens in the markdown files.

  4. 1ec5 commented on Mar 18, 2017

    @1ec5
    Contributor

    The original script from #7337 looks suitable for this purpose. It can be much simpler than the one we use to insert example code into the headers, because the guide’s .md.ejs can mark the insertion point with an HTML comment that the developer never sees. By contrast, anything we put in the headers is visible to the developer, so that script needed a bit of Swift syntax awareness to figure out the insertion point for itself.

  5. modified the milestones: ios-v3.6.0, ios-v3.5.1 on Mar 22, 2017
  6. boundsj commented on Mar 22, 2017

    @boundsj
    Contributor

    @jmkiley I'm moving this to the 3.6.0 milestone since it does not seem critical for a patch release. Please feel free to put it back if it looks like it'll be completed soon!

  7. modified the milestones: ios-future, ios-v3.6.0 on Mar 31, 2017
  8. modified the milestones: ios-v3.6.0, ios-future on May 5, 2017
  9. self-assigned this
    on May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationiOSmacOStests

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions