-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update CircleCI build and test flow to eliminate errors and start real testing #133
Labels
chore
Work that's not a bug or a feature request
Comments
VivekMChawla
added a commit
that referenced
this issue
Feb 23, 2019
Update .circleci/config.yml to match the current default config created by sfdx plugins:generate Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Feb 23, 2019
Start explorations of automated testing by bringing the boilerplate test code up to the most recent version from sfdx plugins:generate Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Feb 23, 2019
Delete the old "hello world" mocha tests and add my first test for falcon:adk:create. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
We will separate unit and integration tests in order to make it clear when running CI jobs which type of test is being run. Also, we'll focus the postpack tests on integration tests. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Create a custom CLI command executor that is capable of accepting mock stdin input. This was necessary to properly test Falcon commands that expect interactive user input to properly function. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Add environment variables that are set during test initialization to ensure portability between local and CI Build environments Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Modify logic that tests the falcon:adk:create command. Finalize the first true integration test (works on local, not sure if it will work on CircleCI yet). Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Update dependency versions. Add new development dependencies (cross-spawn and del) to support automated tests in Mocha. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Using the sfdx-isv/testbed-falcon-adk project as a baseline, this group of files is the first commit related to creating a set of ADK test projects for use during automated testing. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Utilize additional ExecOptions properties that specify whether stdout and stderr have output echoed to the console during tests. Set the "falcon:adk:create" test to skip to ease dev of other tests. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 12, 2019
Create falcon/adk/install.test.ts. Create secondary recipe file falcon-test-01B-recipe.json. Update init.js with env var that tracks location of Falcon Test TempDir. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 15, 2019
Getting close enough on the core framework and unit test code to want to start working on the CirlceCI side of things. This commit forms a solid baseline to use while working on .circleci/config.yml Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 15, 2019
Update init.js to provide cleaner output indicating the TRUE/FALSE state of the "Falcon Test Show" vars. Stop skipping the first test in install.test.ts. Minor change in debug output in cmd.ts. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 15, 2019
Remove all "skipped" tests and get ready for falcon:adk:create and falcon:adk:install to run at CircleCI. Increased the delay waiting for the first mock stdin for falcon:adk:create. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 15, 2019
Comment out the "Command Succeeded" stdout check because of different git staging/commit behavior between local and CircleCI environments. We will go with checking for an exit code of ZERO to determine success. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 19, 2019
Strip ANSI escape codes from stdout and stderr "lined" output. Set the FORCE_COLOR environment variable in spawned process. That's why we needed to strip the ANSI escape codes. Also, cleaned up comments so JSDocs should be accurate now. Related to: #133
VivekMChawla
added a commit
that referenced
this issue
Mar 19, 2019
Add mocha-junit-reporter to dev dependencies. Mostly, this is for use by the CI envirionment. Related to: #133
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CircleCI configuration provided when this project was started does not ever end up with a successful test run. This causes two problems that need to be addressed.
First, we're getting "failed" tests that have nothing to do with whether this project's code works or not. All of the Greenkeeper auto-created issues when dependencies are incremented are a testament to this.
Second, we don't actually have any valid testing for this code. We need to fix that.
The text was updated successfully, but these errors were encountered: