Page MenuHomeWrite.as

Move all tests to the dev server
Closed, ResolvedPublic

Description

Overview

Tests should all be made against the development server, ideally creating all collections, users and posts as required. This will avoid something no longer being available or changing names that breaks our tests.

Background

Currently some tests rely on permanence of the live write.as blog.

Implementation

  • In all tests NewClient should be replaced with NewDevClient
  • Each test should set up and tear down anything required on the development server

Revisions and Commits

Event Timeline

robjloranger created this task.

this needs to be updated in both:

  • collection_test.go
    • TestGetCollectionPosts
    • TestGetCollectionPost
  • post_test.go
    • TestCreatePost
    • ExampleClient_CreatePost