xhd2015
xhd2015
relating to this https://github.com/Theano/Theano/issues/4337 when I run 'python2.7 run_nnet.py TRAIN' it gives this: Traceback (most recent call last): File "run_nnet.py", line 15, in import nn_layers File "/media/sf_D_DRIVE/installed/githubs/deep-qa/nn_layers.py", line 6, in...
Xgo promises to make mock in go becomes easy. The repository is: https://github.com/xhd2015/xgo. Thanks.
This PR changes test cases that use gomonkey, replacing that with xgo. The xgo, which is a native-go solution of monkey patching, have the following advantages compared to gomonkey: -...
This is not an issue, but a discussion about mocking. There used to be lots of code in our legacy codebase, lacking unit tests. We are gradually adding test to...
The problem is: is it possible to call arbitrary function through http without modifying any code? The answer is: it is possible, and could be a major feature of xgo....
Currently init functions are skipped, that makes it impossible to inject mock and collect trace during the init stage. However since init functions just run once and run serially, it...
Some function may modify it's input, and some may not. For these modifying the input, serializing the snapshot helps to improve the trace accuracy. And it's better to support this...
Do not require user to manually modify the code, the tool can automatically parse the code and rewrite gomonkey API calls to xgo