Commit graph

47 commits

Author SHA1 Message Date
b6e1e3ccd4 work in progress: rewrite of forge implementation; keep old versions in ...-legacy files 2024-05-23 10:33:16 +02:00
547e02b85f forge: use deftest; implement seq as class 2024-05-21 11:39:34 +02:00
53a61b660b testing: provide deftest macro, show suite and test names 2024-05-20 17:24:24 +02:00
778409a842 work in progress: testing improvements 2024-05-20 12:22:29 +02:00
3eca0d0c19 forge sequence: improvements 2024-05-19 10:30:45 +02:00
7dd30882e0 work in progress: forge sequence (pseudo-pointer) 2024-05-19 10:03:39 +02:00
e0e65efa39 get-track basically working 2024-05-18 09:16:09 +02:00
3b3cfaf732 work in progress: get-track by trackid: select OK 2024-05-17 19:05:37 +02:00
8b006042d4 minor refactorings; + utility for SQL results: normalize-plist 2024-05-17 16:36:58 +02:00
c188ed2baf write track data to database, JSON-encoded 2024-05-17 11:45:26 +02:00
56467cd4c1 set timestamp default (now) explicitly upon insert 2024-05-17 09:11:40 +02:00
1f8fe04b45 use specialized engine subclass for postres for controlling timestamp conversion 2024-05-16 16:48:03 +02:00
3f3da9b69b use local-time for timestamp conversions; + revert: timestamptz in db 2024-05-16 09:54:28 +02:00
bee8d6d75e insert: use query form, return trackid and timestamp; timestamp: without TZ 2024-05-16 08:27:22 +02:00
6c36fdc72d use keywords for head field names; re-order variable definitions and other statements in test 2024-05-15 16:09:14 +02:00
d4c2db9f89 more on track creation: set head values 2024-05-15 14:52:48 +02:00
35348f3fdb work in progress: insert track; provide (and use) item-factory slot in container 2024-05-14 16:36:53 +02:00
4dab1785a5 create table: use schema option if set 2024-05-14 09:49:50 +02:00
9e1a8a92b9 create table: use container settings for table name and head fields 2024-05-14 08:26:18 +02:00
49688e4055 storage/tracking: create-index function 2024-05-13 21:21:13 +02:00
c832ba70f3 more refactorings: get rid of global *db-engine*, starting with methods on db-engine and storage 2024-05-12 19:27:11 +02:00
559c3f3281 storage refactoring: prepare for using methods for storage creation and db access 2024-05-12 12:37:24 +02:00
3b36d4e54a improve test set-up, load config when running test 2024-05-09 18:56:04 +02:00
3aacee896d improve config: separate :connect-args 2024-05-09 10:45:23 +02:00
3f2fea6617 database access almost working - sqlite hangs... 2024-05-08 13:50:57 +02:00
8dfb22033d minor refactoring of basic storage code 2024-05-07 19:21:30 +02:00
c4fdc6eeec test set-up for storage: run tests with sqlite and postgresql settings 2024-05-07 18:41:14 +02:00
db405da6d9 simplify forge code: use special variable *forge-env* 2024-05-07 14:06:28 +02:00
7b8db5f923 simplify testing code: use *tst* for test suite; renaming -> t:== 2024-05-07 11:11:15 +02:00
6938217533 rename db-params to db-config; provide both db-config vars in scopes/test-storage 2024-05-06 19:01:55 +02:00
5d7a4c0b82 replace tabs with spaces 2024-05-06 12:15:33 +02:00
82038d9dd5 work in progress: access to SQL DB: create/drop table, config via etc.lisp 2024-05-06 11:13:53 +02:00
c5c6a0bc7f more on storage/tracking: start constructing SQL with sxql 2024-05-05 22:25:42 +02:00
c2e27fe6dc work in progress: storage/tracking 2024-05-05 08:32:54 +02:00
4036a03882 initial set-up for storage / tracking stuff 2024-05-01 19:51:36 +02:00
df88bec20a provide var definition with get and put operations 2024-04-28 14:56:46 +02:00
c2b48289ab add const definition 2024-04-27 08:25:53 +02:00
a16f4c2417 add 'scratch' for interactive tests; strings as words, new vocabulary for user-defined words 2024-04-26 09:31:21 +02:00
d3057ff9d7 forge: add exec-str function 2024-04-24 14:36:09 +02:00
dff1de06a8 define words with 'def' working 2024-04-22 15:02:36 +02:00
9c56ae475b same name for class and constructor 2024-04-21 19:30:10 +02:00
6f93968e4b split up test.run function: allow for multiple test functions 2024-04-21 09:13:59 +02:00
310837ab58 forge.exec: fix action selection using symbolp, lookup in scopes/forge package 2024-04-20 15:36:56 +02:00
b573e49d2c first minimally working version of forge interpreter 2024-04-20 11:36:04 +02:00
21843546fa work in progress: forge basics, testing 2024-04-20 10:45:01 +02:00
d2f708999f trying to start with simple things: forge interpreter and testing facility 2024-04-19 16:17:52 +02:00
9960303469 add first primitive (dummy) version of test facility 2024-04-18 21:03:56 +02:00