Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Namespaces | Data Structures
Magento\Test\Integrity Namespace Reference

Namespaces

 App
 
 Di
 
 Layout
 
 Library
 
 Magento
 
 Modular
 
 Phrase
 
 Readme
 
 Theme
 
 Xml
 

Data Structures

class  CircularDependencyTest
 
class  ClassesTest
 
class  ComposerLockTest
 
class  ComposerTest
 
class  ConfigTest
 
class  DatabaseTest
 
class  DependencyTest
 
class  HhvmCompatibilityTest
 
class  LayoutTest
 
class  ObserverImplementationTest
 
class  PublicCodeTest
 
class  StaticFilesTest
 
class  TestPlacementTest
 

Detailed Description

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Layout nodes integrity tests

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Test constructions of layout files

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.This test finds usages of modular view files, searched in non-modular context - it is obsolete and buggy functionality, initially introduced in Magento 2.

The test goes through modular calls of view files, and finds out, whether there are theme non-modular files with the same path. Before fixing the bug, such call return theme files instead of modular files, which is incorrect. After fixing the bug, such calls will start returning modular files, which is not a file we got used to see, so such cases are probably should be fixed. The test finds such suspicious places.

The test is intended to be deleted before Magento 2 release. With the release, having non-modular files with the same paths as modular ones, is legitimate.

Scan source code for incorrect or undeclared modules dependencies

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Scan source code for references to classes and see if they indeed exist

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Hhvm ini_get/ini_set compatibility test

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.Test to ensure that readme file present in specified directories