Showing only posts tagged testing. Show all posts.

Standard and User-Defined Conversions

3 minute read.

I just came across a surprising bug in my code which I did not expect to cause any problem at all. The simplified code goes like this:

void foo(const std::string& str) { printf("string!"); }

          void foo(const bool b) { printf("bool!"); }

          // ...

          foo("0");

What do you expect? Dumb question …

UE4 Automation Testing

9 minute read.

Have you ever had a feature in an Unreal Engine game that you had to come back to again and again, because it was a nest of bugs? This gives you this uneasy feeling of that part being unstable, not really done yet, you can never relax… right?

What if …