{ "title": "BAD INPUT, GOOD PROFILE TESTS", "desc": "testing incorrect input and correct resulting profiles.", "tests": [ { "name": "add note with no title", "cmds": [ ["new-profile"], ["add"] ], "result_path": "default.json", "result": { "encrypted": false, "notes": [] } },{ "name": "add note with no title and a status", "cmds": [ ["new-profile"], ["add", "-s"] ], "result_path": "default.json", "result": { "encrypted": false, "notes": [] } },{ "name": "add note with no title and a status and a body (from arg)", "cmds": [ ["new-profile"], ["add", "-s", "-b", "haha bad"] ], "result_path": "default.json", "result": { "encrypted": false, "notes": [] } },{ "name": "transfer note to profile that doesn't exist", "cmds": [ ["new-profile"], ["add", "this is the title"], ["transfer", "1", "to", "fakey"] ], "result_path": "default.json", "result": { "encrypted": false, "notes": [ { "id": 1, "title": "this is the title", "status": "", "body": "" } ] } } ] }