title: init function does not run before unit test golang
body: <p>When debug in GoLand, I found <code>init</code> function run before some unit test, but not run before some unit test. I have not set any configuration related to unit test and <code>init</code> function. For example:</p>
  <p>function A:</p>
  <p>package1/function a()</p>
  <p>function B:</p>
  <p>package2/function b()</p>
  <p>function C:</p>
  <p>package3/int()</p>
  <p><code>init</code> runs before a(), but not befor b(). It's so weired. I have not found any law.</p>