Comments (2)
Another easy option would be to support Wait()
It should work
let l:x = 0
call time_start(500, {t->l:x = 1})
Wait(1000)
Assert Equals(l:x, 1)
End
from vim-themis.
vim tests also seems to support WaitForAssert
.
call WaitForAssert({-> assert_equal('', term_getline(buf, 1))})
We should have param for timeout/delay too.
from vim-themis.
Related Issues (20)
- Testing coverage? HOT 3
- Test the cursor position HOT 4
- Request: Support new types HOT 3
- Themis reports wrong result in Windows HOT 1
- Does any command convert vimspec to normal vim script HOT 4
- timer コールバックの呼び出し順番がひっくり返る HOT 1
- Show on which line assertion failed
- Seems broken with recent Vim HOT 13
- Crashes on showing self-referencing container value HOT 1
- Question: Next themis has support under 8.0 or below? HOT 2
- please tag latest master HOT 1
- How to test input() and similar prompt functions? HOT 2
- themis should exit with non 0 exit-status on unexpected termination HOT 1
- add support for writing tests that is written in lua
- Provide a message with expect HOT 2
- Include :messages in failure output
- Vimspec style tests fail in vim9 script HOT 2
- Color for F and . (dot style)
- Add ftdetect, ftplugin to vim runtime HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-themis.