title: How to dynamically create parameterized test from the file (json or yaml) in python
body: <p>Really need an advice how to dynamically create parameterized tests from the file (json or yaml) in  python. 
  File contains list of urls</p>
  
  <p>file example :</p>
  
  <pre><code> { "name":"url_1", "url":"http://check.com","expected": "23"}
  </code></pre>
  
  <p>or :</p>
  
  <p><code>{ "url_1", "http://check.com","23"}</code></p>
  
  <p>Example like this:</p>
  
  <pre><code>@parameterized(from the file import name, expected)
  
  def testUrl (self, name, url, expected):
      run something (%s) url
      assertTrue( expected = result)
  </code></pre>
  
  <p>OUTPUT : </p>
  
  <pre><code>test_for_url_1_ (test.TestClass) ... ok
  test_for_url_2_ (test.TestClass) ... ok
  </code></pre>
  
  <p>I'm checking nose-parameterized for: </p>
  
  <pre><code># An iterable of params
  @parameterized(
      param.explicit(*json.loads(line))
      for line in open("testcases.jsons")
  )
  def test_from_json_file(...):
      ...
  </code></pre>
  
  <p>But can't make it work :( </p>
  
  <p>Thank you in advance </p>