Commit graph

230 commits

Author SHA1 Message Date
Alan Hamlett
937350220e only read one line of extra heartbeats from stdin 2016-04-28 19:25:52 +02:00
Alan Hamlett
dce9d70d48 correct config file in help output 2016-04-26 13:40:08 +02:00
Alan Hamlett
67a2403070 new --extra-heartbeats argument 2016-04-21 00:30:44 +02:00
Alan Hamlett
984a8ab62a increase default timeout to 60 seconds 2016-04-19 13:50:29 +02:00
Alan Hamlett
95a2db0a77 support passing an alternate language to cli 2016-04-19 12:30:44 +02:00
Alan Hamlett
e92ec60cf3 test for timezone header in heartbeat request 2016-04-18 23:52:15 +02:00
Alan Hamlett
9bc81a341a use correct path for tzlocal for py3 tests 2016-04-18 23:38:38 +02:00
Alan Hamlett
615fa5cdac support regex patterns in projectmap config section 2016-04-18 21:34:00 +02:00
Alan Hamlett
2437fb6b6d add testcase for vim modeline 2016-04-18 17:00:42 +02:00
Alan Hamlett
cd6b698635 tests for unicode in machine hostname and timezone 2016-03-06 14:08:00 -08:00
Alan Hamlett
33a87b9877 add new AUTH_ERROR exit status to signal an invalid api key. fixes #41. 2016-01-25 23:49:37 +01:00
Alan Hamlett
85cecd6280 accept 201 or 202 response codes as success from api 2016-01-11 02:13:58 -08:00
Alan Hamlett
30b5f37c5c test for new api subdomain 2016-01-06 13:49:27 -08:00
Alan Hamlett
23dc803446 detect dependencies from golang files 2016-01-02 19:35:52 -08:00
Alan Hamlett
caafe3dcb6 fix tests 2016-01-01 23:24:49 -08:00
Alan Hamlett
bff7bcf1fd add missing @property decorator 2015-11-19 23:44:39 -08:00
Alan Hamlett
83063e845a use correct regex warning message for py35 2015-11-19 23:39:32 -08:00
Alan Hamlett
45855f6998 fix tests on python 3.5 2015-11-19 23:34:32 -08:00
Alan Hamlett
fdc2981e74 fix logging tests 2015-10-22 23:21:46 -07:00
Alan Hamlett
ca5bb35bbb correctly log exception tracebacks 2015-10-22 23:15:57 -07:00
Alan Hamlett
ac8690222c fix tests for timeout value 2015-09-29 22:43:39 -07:00
Alan Hamlett
d953c13203 correctly test output when timeout value is not integer 2015-09-29 22:39:06 -07:00
Alan Hamlett
75aa9a2994 test config file parsing with more config options 2015-09-29 22:34:14 -07:00
Alan Hamlett
54fbc8ee22 tests for php and html dependencies 2015-09-29 22:00:17 -07:00
Alan Hamlett
ffa9e410b4 improve C# dependency test 2015-09-29 21:15:46 -07:00
Alan Hamlett
7bc8ec006b test detection of C# dependencies 2015-09-29 20:42:47 -07:00
Alan Hamlett
62fcce8838 test guess_lexer function 2015-09-29 02:24:51 -07:00
Alan Hamlett
d6faae47d0 better test coverage for offline queue 2015-09-27 03:32:28 -07:00
Alan Hamlett
db02b82d95 remove temp sqlite file after testing. improve offlinequeue and session_cache tests. 2015-09-27 03:17:54 -07:00
Alan Hamlett
dd5678a919 tests for connection issues with session caching 2015-09-27 01:59:39 -07:00
Alan Hamlett
9af0c110ca tests for crud session cache 2015-09-27 01:52:53 -07:00
Alan Hamlett
dfb8ad4502 tests for session caching 2015-09-27 01:04:06 -07:00
Alan Hamlett
0a56ffa8eb better svn test coverage 2015-09-26 21:11:21 -07:00
Alan Hamlett
ddb01ee894 rename languages as dependencies 2015-09-26 19:26:15 -07:00
Alan Hamlett
5ee4f41a87 test project base 2015-09-26 19:23:38 -07:00
Alan Hamlett
c99518bcc8 test proxy setting 2015-09-26 19:17:06 -07:00
Alan Hamlett
22ddc41f25 test alternate api key config setting 2015-09-26 19:12:54 -07:00
Alan Hamlett
f467336a8b test for config file not passed via command line 2015-09-26 19:10:12 -07:00
Alan Hamlett
cde35d7ccd tests for verbose logging 2015-09-26 18:56:33 -07:00
Alan Hamlett
1984fe4228 tests for c and cpp dependency detection. change api of TokenParser class. 2015-09-26 13:04:35 -07:00
Alan Hamlett
350fc8cc0a move TokenParser test to dependencies test file 2015-09-26 12:17:16 -07:00
Alan Hamlett
fc203d3991 tests for TokenParser 2015-09-26 12:10:05 -07:00
Alan Hamlett
4d45305650 improve java dependency detection 2015-09-16 14:59:30 -07:00
Alan Hamlett
5265160aa8 move bower back into codefiles folder 2015-09-16 13:23:59 -07:00
Alan Hamlett
675c538838 test bower again 2015-09-16 13:00:44 -07:00
Alan Hamlett
1127e5c8da fix dependency truncation 2015-09-16 12:57:49 -07:00
Alan Hamlett
09f5ebc78f test missing entity file 2015-09-15 09:07:58 -07:00
Alan Hamlett
9f0fd8bc31 update expected help output for tests 2015-09-15 09:03:41 -07:00
Alan Hamlett
032bd99d97 use txt file extension for tempfile 2015-09-08 15:56:06 -07:00
Alan Hamlett
9884eea311 test bower dependencies 2015-09-08 15:48:28 -07:00
Alan Hamlett
8aa20da2f1 tests for logging 2015-09-08 15:15:16 -07:00
Alan Hamlett
0d1c95cf9c remove redundant wakatime from test file names 2015-09-08 14:15:35 -07:00
Alan Hamlett
8b179730fb better test coverage for C and C++ language detection 2015-09-08 14:06:10 -07:00
Alan Hamlett
fdaabdd27e tests for mercurial project detection 2015-09-07 21:40:01 -07:00
Alan Hamlett
eff141187b turn svn output into unicode before parsing 2015-09-07 21:25:21 -07:00
Alan Hamlett
edb1dab9a8 increase test coverage 2015-09-07 20:57:21 -07:00
Alan Hamlett
df893be3fc fix tests on py3 2015-09-07 20:48:18 -07:00
Alan Hamlett
dc5dcf0cb1 tests for project map config section 2015-09-07 20:43:06 -07:00
Alan Hamlett
2da040547a store sample git repo as dot_git, then copy when testing 2015-09-07 13:41:29 -07:00
Alan Hamlett
b223138ab2 tests for project detection 2015-09-07 13:25:08 -07:00
Alan Hamlett
5808a1d77c test vim modeline detection 2015-09-06 20:46:57 -07:00
Alan Hamlett
4c8919f9ac test C and C++ detection when editing header files 2015-09-06 20:06:36 -07:00
Alan Hamlett
f53044fd23 test caching offline heartbeat with null project 2015-09-06 18:47:17 -07:00
Alan Hamlett
859017daef tests for offline queue 2015-09-06 18:22:05 -07:00
Alan Hamlett
7656b5365d new --entity command line arg to replace --file 2015-08-29 18:14:07 -07:00
Alan Hamlett
92350ff8a0 check dependencies and stats in tests 2015-08-29 17:48:42 -07:00
Alan Hamlett
92948386fa new --entitytype command line arg to replace --notfile 2015-08-29 16:16:14 -07:00
Alan Hamlett
85de7a3deb test python dependency detection and --alternate-project argument 2015-08-12 15:03:39 -07:00
Alan Hamlett
5ec3cebcdf allow tests to run on any branch 2015-08-12 14:36:35 -07:00
Alan Hamlett
3c6ef2dcc9 detect correct project and branch for travis-ci 2015-08-12 14:28:21 -07:00
Alan Hamlett
26024af1a2 more tests for wakatime.base 2015-08-12 14:21:32 -07:00
Alan Hamlett
4eab860dc0 increase test coverage 2015-08-12 11:04:11 -07:00
Alan Hamlett
f818a64d3d always parse args from sys.argv 2015-08-12 10:28:01 -07:00
Alan Hamlett
4284fe9415 look for correct stdout 2015-08-11 19:06:01 -07:00
Alan Hamlett
ca486e2ac6 remove unused sample output 2015-08-11 19:00:09 -07:00
Alan Hamlett
cc522f8b62 improve tests by capturing stderr 2015-08-11 18:59:29 -07:00
Alan Hamlett
5bf7b534f2 use unittest2 on py26 to fix tests 2015-08-11 14:53:35 -07:00
Alan Hamlett
d36592e1c5 correctly mock packaged requests library 2015-08-11 12:15:35 -07:00
Alan Hamlett
8e8c0154d6 --apikey argument needed 2015-08-11 11:56:24 -07:00
Alan Hamlett
4a5e2d9328 first tests, and disable logging while testing 2015-08-11 11:19:22 -07:00