Add descriptions for what teach test does

This commit is contained in:
Girish Ramakrishnan 2015-06-16 10:40:50 -07:00
parent 917319d91a
commit 3107d8642c
4 changed files with 23 additions and 0 deletions

View File

@ -1,5 +1,10 @@
#!/usr/bin/env node
/*
* This tests an app flow on the cloudron. User installs
* an app, tries to configure and then uninstall it.
*/
'use strict';
var AppStore = require('../appstore.js'),

View File

@ -2,6 +2,12 @@
'use strict';
/*
* This tests a flow for the cloudron 'user. The cloudron
* owner create a new user. This new user should be able to
* login with the resetToken.
*/
var AppStore = require('../appstore.js'),
assert = require('assert'),
Cloudron = require('../cloudron.js'),

View File

@ -1,5 +1,11 @@
#!/usr/bin/env node
/*
* This tests a flow for cloudron owner creating a cloudron
* from the appstore. Owner creates a cloudron, activates
* it, installs and app and deletes the cloudron eventually
*/
'use strict';
var AppStore = require('../appstore.js'),

View File

@ -1,5 +1,11 @@
#!/usr/bin/env node
/*
* This tests a flow for the cloudron owner updating a cloudron.
* It checks if an existing installed app retains it's data after
* an update.
*/
'use strict';
var AppStore = require('../appstore.js'),