在我目前的项目中,我有多个灯具文件。我想为每个文件分配与我的测试相关的数据。
即:
灯具:
测试/装置/ commonAuthor.yml
# Contains Common authors, with no particularities Author: Author1: name: Author1
测试/装置/ commonTag.yml
# Contains Common tags, with no particularities Tag: Tag1: name: Tag1 Tag2: name: Tag2
测试/装置/ test_Article.yml
# Contains All the data that is used by my functionals and unit tests Tag: Tag_not_active: name: Tag not active Article: Article_1: title: Article 1 Tags: [Tag1, Tag2] Author: Author1 Article_with_tag_innactive: title: Article 2 Tags: [Tag1, Tag2, Tag_not_active] Author: Author1
我想知道文件是按字母顺序加载还是以其他顺序加载。
感谢。
答案 0 :(得分:2)
如果您正在使用教条,则会自动检测灯具之间的依赖关系并加载它们以实现所有这些依赖关系。
如果您使用的是推进器,则按字母顺序加载文件。