title: Where to load stub data from when unit testing
body: <p>For purposes of unit testing, I need to mock up a network response. The response is normally a byte stream, stored as a <code>const vector&lt;uint8_t&gt;</code>. For the unit test however, I would like to produce the vector with data that is either hardcoded in the CPP file or read from a file in the same solution. My example data is about 6 kb. What is the general guidance on where to place data when using <a href="https://github.com/google/googletest/blob/master/googletest/docs/faq.md" rel="nofollow noreferrer">googletest</a>? </p>