Commit graph

180 commits

Author SHA1 Message Date
Connor Rigby c4f369c709 fix command test 2017-06-09 12:01:10 -07:00
Connor Rigby 610fc4eedc refactorme.exe 2017-06-08 17:39:21 -07:00
connor rigby 279b1d3b5c change farmware runtime to use env vars again 2017-05-31 14:03:19 -07:00
connor rigby ce0227a173 test catastrophy should now be more readable 2017-05-31 12:01:33 -07:00
connor rigby 04ad15f79c add helper/check for farmbot init 2017-05-31 11:29:12 -07:00
connor rigby f8cc96573e What is {:error, :eagain} 2017-05-31 11:19:28 -07:00
Rick Carlino 02fbdbae1c Better test for runtime.ex 2017-05-31 09:45:24 -05:00
Rick Carlino 33782328ae Dead code removal and stub debug_log 2017-05-31 08:41:09 -05:00
Rick Carlino 81ed482167 Farmware runtime.ex + tests. Need to actually make assertions now 2017-05-30 16:46:59 -05:00
connor rigby 2b06062eed compiler warnings are minified, but nothing is working 2017-05-24 12:23:22 -07:00
connor rigby b9aa6b04cd i hate http so much 2017-05-23 12:24:46 -07:00
Connor Rigby d7afbf2da6 work in progress for http adapter 2017-05-23 08:42:36 -07:00
Connor Rigby 20c8a933fa more database 2017-05-22 06:09:40 -07:00
Connor Rigby 73e0658c76 writing more tests 2017-05-22 05:31:57 -07:00
Connor Rigby 97a45bed62 not sure what is breaking unlock 2017-05-21 11:14:29 -07:00
Connor Rigby 00d839b615 right some tests 2017-05-21 01:27:35 -07:00
Connor Rigby 0b5f664fbe whoops 2017-05-20 20:04:05 -07:00
Connor Rigby bdaaecc840 i forgot to do this the otherr day 2017-05-20 20:02:28 -07:00
connor rigby 08a0ac8c5a context all the things. 2017-05-19 14:36:21 -07:00
connor rigby c99a8b2d38 tests still pass, but stuff is definately broken 2017-05-19 12:23:54 -07:00
connor rigby f0e8528914 tests pass yo 2017-05-19 09:04:13 -07:00
Rick Carlino 19eebc6454 Wrote test for failure case. NEXT: Seed DB and try corner case 2017-05-19 10:44:45 -05:00
connor rigby 98ef64a816 tests pass again 2017-05-18 15:28:35 -07:00
connor rigby 6840c1dfa5 stub some stuff for test env 2017-05-18 14:04:30 -07:00
Rick Carlino 32d7d441b5 Not mocking correctly? 2017-05-18 14:57:11 -05:00
connor rigby 89baa242c0 dont look at me im not important; most tests are broken 2017-05-18 12:18:29 -07:00
Rick Carlino d6dbb0a1d1 🏀 2017-05-18 09:55:30 -05:00
Connor Rigby 9e694cff3b fix test 2017-05-17 21:31:14 -07:00
Connor Rigby 4f1a25df71 tests are passing 2017-05-17 18:41:37 -07:00
connor rigby a17444af49 some infiniate recursion somewhere 2017-05-17 16:14:21 -07:00
connor rigby 18fa789fb6 need to fix tests 2017-05-17 15:06:22 -07:00
connor rigby 4f3464f0fd celeryscript broken; database working. Needs moar decoupling. 🏀 2017-05-17 11:22:47 -07:00
Rick Carlino 43dcf07510 Remove "singleton" in favor of PIDs all over the place 2017-05-17 11:41:49 -05:00
connor rigby 02b66a6174 make things moar otp in db 2017-05-17 09:17:42 -07:00
Rick Carlino 96c3b4e5cb 🏀 2017-05-17 10:03:23 -05:00
connor rigby 4cd723c9db tests for all syncables pass now 2017-05-17 07:41:14 -07:00
Connor Rigby 02a11ba166 i think these will pass but i dont have my api running 2017-05-16 22:11:32 -07:00
connor rigby 8462427d02 serial is breaking entire test suite again; syncable tests run 2017-05-16 15:55:10 -07:00
Rick Carlino 00c56a3d33 Syncable body/ref_id are nil; Not right module 2017-05-16 17:03:24 -05:00
Rick Carlino 0fee55cbb6 Test some macros and stuff for Syncable 2017-05-16 16:31:48 -05:00
Rick Carlino 3784b6226a Test toggling 2017-05-16 16:20:41 -05:00
connor rigby f87d1af16c change of plans 2017-05-16 14:07:02 -07:00
Rick Carlino a036100946 Lets try an awaiting queue 2017-05-16 15:05:38 -05:00
Rick Carlino d970d7cfd4 Merge branch 'dbstuffs' of https://github.com/ConnorRigby/farmbot_os into ricks_dbstuffs 2017-05-16 14:05:23 -05:00
Rick Carlino 41566430bf ASCII art indentation 2017-05-16 14:05:20 -05:00
connor rigby 395e569382 begine data_update db stuffs 2017-05-16 12:03:55 -07:00
connor rigby 4fb1f11469 write tests for database implementation 2017-05-16 11:01:18 -07:00
Rick Carlino 07fa8f512d Start writing tests for Sync.sync() 2017-05-16 11:18:37 -05:00
connor rigby 50a90b15bc that 2017-05-09 07:09:20 -07:00
connor rigby 94d5ac7751 remove toolbays 2017-05-08 12:39:46 -07:00
connor rigby 36ff0b16da fix test again 2017-05-08 11:20:49 -07:00
connor rigby 1b0a4b9e8e fix tests again 2017-05-08 11:00:31 -07:00
connor rigby 5d948055c4 fix test 2017-05-08 10:52:16 -07:00
connor rigby 91f1ea11c5 fix firmware simulator implementation 2017-05-02 10:09:11 -07:00
connor rigby 1c5bc5077b fix tests and stuff 2017-05-02 09:09:37 -07:00
connor rigby 4c8cb12e1e fix broken test 2017-04-25 12:26:20 -07:00
connor rigby d0e1bfe5cf fix logger endpoing 2017-04-10 15:58:28 -07:00
connor rigby 20f5626056 fix/purge tests 2017-04-06 08:34:06 -07:00
connor rigby 725b5d1c34 fixing namespaces 2017-04-06 08:14:06 -07:00
connor rigby 567c0efb81 simplified serial again 2017-03-28 11:01:46 -07:00
connor rigby e1cbf7253c going to test with travis now. 2017-03-27 09:28:42 -07:00
connor rigby 5b7434ccad tests pass with new farmbot simulator app. Slow though. 2017-03-27 09:26:35 -07:00
connor rigby f536755bef test moar serialz 2017-03-21 06:55:44 -07:00
connor rigby 25fe8db74b test move_rel and move_abs 2017-03-20 14:35:11 -07:00
connor rigby 0d29b163b2 add tests for serial 2017-03-20 11:53:37 -07:00
connor rigby 864c444151 fix logger, mcu_params, and add factory_reset for arduino firmware 2017-03-15 11:01:11 -07:00
connor rigby 589061b5c6 fix update checker and replace Logger.debug with Logger.info 2017-03-14 09:37:41 -07:00
connor rigby 157770fa2e start to bundle arduino firmware with os 2017-03-13 15:50:01 -07:00
connor rigby 3b8508fad9 cant find the first command bug but fix tests 2017-03-10 09:54:09 -08:00
connor rigby ae09844da6 force state push on read_status, hardware tracker/arduino comms is broken 2017-03-09 06:08:18 -08:00
connor rigby 6eebaf3a20 moar logger fixes. 2017-03-08 11:43:13 -08:00
connor rigby 41280e3e25 derp 2017-03-07 09:15:35 -08:00
connor rigby bb77127634 increase coverage so i dont get shamed 2017-03-07 09:08:55 -08:00
connor rigby 084649abcf travis is slow 2017-03-06 15:07:00 -08:00
connor rigby 007ab3cb2b temp disable this test 2017-03-06 08:33:34 -08:00
connor rigby 8cc8e02a0a add backup method for loggin in. This should stop bots from randomly rebooting to configurator 2017-03-06 07:30:40 -08:00
connor rigby 42d65e614e add some tests 2017-03-03 13:54:18 -08:00
connor rigby cffbd7b077 maybe actually run tests before you commit them? 2017-03-03 10:09:55 -08:00
connor rigby 19474c309f add a log when movement is done 2017-03-03 09:52:40 -08:00
connor rigby ea688a2dac some tests, some e stopping (which still doesnt work right) 2017-03-03 09:11:39 -08:00
connor rigby 79c32c6f48 stub some sync functions 2017-03-02 14:08:33 -08:00
connor rigby f940a64b37 cache for things that are out of sync 2017-03-02 13:24:16 -08:00
connor rigby f26f25b6f5 fix test 2017-03-02 07:27:30 -08:00
connor rigby cf2cf6cf92 host - dev works. fixing target build 2017-03-02 05:24:13 -08:00
connor rigby 4983cdcf0e umbrella? i think so 2016-12-18 12:33:59 -08:00
connor rigby c3ba3d64d4 tests pass again. need to build a file access moduel 2016-12-13 10:30:52 -08:00
connor rigby cd95ef21d3 some authorization error handling. 2016-12-11 21:50:03 -08:00
connor rigby 2b946f4965 fixed this yesterday. heres the test fix 2016-12-08 07:44:50 -08:00
connor rigby dbbf8af40b fix syncing. Thanks tests. 2016-12-07 11:31:28 -08:00
connor rigby 7e87d34ba1 littlebitatests 2016-12-07 10:40:09 -08:00
connor rigby 0d38ac54b1 fix a naming inconsistency 2016-12-07 08:57:19 -08:00
connor rigby eb8d38d115 there is zero logs. 2016-12-06 10:51:33 -08:00
connor rigby 9093498c5c Building a new Logger 2016-12-05 10:43:42 -08:00
connor rigby 25d4966097 heyo 2016-12-02 16:44:50 -08:00
connor rigby a08b7fbfd7 we have a db 2016-12-02 14:12:47 -08:00
connor rigby 299957e316 mutations dealy is finished. Need a new name for that though 2016-12-02 13:18:41 -08:00
connor rigby dc33a4c58c ... 2016-12-02 07:55:35 -08:00
connor rigby c1c52c48ac tests passing again. cant say if it works or not but this is mad cool 2016-12-01 00:33:47 -08:00
connor rigby a9fcb5806a [PROBABLY UNSTABLE] moving right along 2016-11-30 17:54:59 -08:00
connor rigby 3859987703 macros r cool 2016-11-30 16:08:51 -08:00