Closed tabdulradi closed 7 years ago
Example of an integration test
val listByAuthor = withSchema { (authorId: UUID) =>
cql"""
SELECT post_id, author_name, reviewer_name, post_title, post_rating, post_tags
FROM test.posts
WHERE author_id = $authorId
ORDER BY post_id DESC ;
"""
.prepared
.executeAsync
.as(Post)
}
Start with the parser, 99% the rest is already implemented, but an integration test case under troy-macro subproject is necessary to prove it is working end to end.